From 310a13e9573be2d93edf7b870b9f31dab1752a69 Mon Sep 17 00:00:00 2001 From: Johannes Burk Date: Thu, 26 May 2016 11:00:59 +0200 Subject: [PATCH] Remove unused capability 'apply:unenrolapply' --- db/access.php | 9 --------- lang/ca/enrol_apply.php | 1 - lang/de/enrol_apply.php | 1 - lang/en/enrol_apply.php | 1 - lang/es/enrol_apply.php | 1 - lang/it/enrol_apply.php | 1 - lang/pt_br/enrol_apply.php | 1 - lang/zh_cn/enrol_apply.php | 1 - 8 files changed, 16 deletions(-) diff --git a/db/access.php b/db/access.php index bb8818d..fc120ab 100644 --- a/db/access.php +++ b/db/access.php @@ -44,15 +44,6 @@ $capabilities = array( ) ), - //is this still necessary? - 'enrol/apply:unenrolapply' => array( - 'captype' => 'write', - 'contextlevel' => CONTEXT_COURSE, - 'archetypes' => array( - 'student' => CAP_ALLOW, - ) - ), - 'enrol/apply:enrol' => array( 'captype' => 'write', 'contextlevel' => CONTEXT_COURSE, diff --git a/lang/ca/enrol_apply.php b/lang/ca/enrol_apply.php index 89a972b..7473bd5 100644 --- a/lang/ca/enrol_apply.php +++ b/lang/ca/enrol_apply.php @@ -37,7 +37,6 @@ $string['confirmenrol'] = 'Gestionar sol·licituds'; $string['apply:config'] = 'Configurar instàncies d\'Inscripció prèvia aprovació'; // Needs more insight $string['apply:manage'] = 'Gestionar la Inscripció prèvia aprovació'; // Needs more insight $string['apply:unenrol'] = 'Cancel·lar usuaris del curs'; // Needs more insight -$string['apply:unenrolapply'] = 'Cancel·lar-se a si mateix del curs'; // Needs more insight. Very ugly translation! $string['notification'] = 'Sol·licitud d\'inscripció enviada correctament.

Rebràs una notificació per correu electrònic un cop estigui confirmada la inscripció.'; diff --git a/lang/de/enrol_apply.php b/lang/de/enrol_apply.php index e2c331c..42fe5bf 100644 --- a/lang/de/enrol_apply.php +++ b/lang/de/enrol_apply.php @@ -42,7 +42,6 @@ $string['confirmenrol'] = 'Einschreibeanfragen bearbeiten'; $string['apply:config'] = 'Einschreibungsbelegstellen anlegen'; $string['apply:manage'] = 'Einschreibungsanfragen verwalten'; $string['apply:unenrol'] = 'Benutzer aus dem Kurs entfernen'; -$string['apply:unenrolapply'] = 'Sich selbst aus dem Kurs entfernen'; $string['notification'] = 'Einschreibungsantrag wurde erfolgreich gesendet..

Sie werden via Mail informiert, sobald Ihre Einschreibung bestätigt wurde.'; diff --git a/lang/en/enrol_apply.php b/lang/en/enrol_apply.php index d71d897..2fb9ed9 100644 --- a/lang/en/enrol_apply.php +++ b/lang/en/enrol_apply.php @@ -59,7 +59,6 @@ $string['apply:config'] = 'Configure apply enrol instances'; $string['apply:enrol'] = 'Enrol users'; $string['apply:manage'] = 'Manage apply enrolment'; $string['apply:unenrol'] = 'Cancel users from the course'; -$string['apply:unenrolapply'] = 'Cancel self from the course'; // is this necessary now? $string['apply:unenrolself'] = 'Cancel self from the course'; diff --git a/lang/es/enrol_apply.php b/lang/es/enrol_apply.php index bec4033..69d19f4 100644 --- a/lang/es/enrol_apply.php +++ b/lang/es/enrol_apply.php @@ -37,7 +37,6 @@ $string['confirmenrol'] = 'Gestionar solicitudes'; $string['apply:config'] = 'Configurar instancias de matrículas solicitadas'; // Needs more insight $string['apply:manage'] = 'Gestionar matrículas solicitadas'; // Needs more insight $string['apply:unenrol'] = 'Cancelar usuarios del curso'; // Needs more insight -$string['apply:unenrolapply'] = 'Cancelarse a si mismo del curso'; // Needs more insight. Very ugly translation! $string['notification'] = 'Solicitud de matriculación enviada correctamente.

Será notificado por correo electrónico en cuanto se confirme su matriculación.'; diff --git a/lang/it/enrol_apply.php b/lang/it/enrol_apply.php index 055dd51..744a71b 100644 --- a/lang/it/enrol_apply.php +++ b/lang/it/enrol_apply.php @@ -37,7 +37,6 @@ $string['confirmenrol'] = 'Gestisci l\'applicazione'; $string['apply:config'] = 'Configura le istanze del plugin'; $string['apply:manage'] = 'Gestisci le richieste di iscrizione'; $string['apply:unenrol'] = 'Cancella gli utenti dal corso'; -$string['apply:unenrolapply'] = 'Permetti all\'utente di disiscriversi dal corso'; // is this necessary now? $string['apply:unenrolself'] = 'Permetti all\'utente di disiscriversi dal corso'; $string['notification'] = 'Richiesta di iscrizione al corso correttamente inviata.

Verrai informato via email appena la tua richiesta di iscrizione viene confermata. Se vuoi iscriverti ad altri corsi, premi sul "catalogo dei corsi" sul top menu.'; diff --git a/lang/pt_br/enrol_apply.php b/lang/pt_br/enrol_apply.php index 145394c..b448761 100644 --- a/lang/pt_br/enrol_apply.php +++ b/lang/pt_br/enrol_apply.php @@ -37,7 +37,6 @@ $string['confirmenrol'] = 'Gerenciar solicitações'; $string['apply:config'] = 'Configurar instâncias de matrículas solicitadas'; // Needs more insight $string['apply:manage'] = 'Gerenciar matrículas solicitadas'; // Needs more insight $string['apply:unenrol'] = 'Cancelar usuários do curso'; // Needs more insight -$string['apply:unenrolapply'] = 'Cancelar minha matrícula do curso'; // Needs more insight. Very ugly translation! $string['notification'] = 'Solicitação de matrícula enviada com sucesso.

Você será notificado por e-mail quando a sua matrícula for confirmada.'; diff --git a/lang/zh_cn/enrol_apply.php b/lang/zh_cn/enrol_apply.php index 47cd24d..e5d837e 100644 --- a/lang/zh_cn/enrol_apply.php +++ b/lang/zh_cn/enrol_apply.php @@ -37,7 +37,6 @@ $string['confirmenrol'] = '管理申请'; $string['apply:config'] = '配置选课确认的实例'; $string['apply:manage'] = '管理选课申请'; $string['apply:unenrol'] = '从课程中取消用户的选课'; -$string['apply:unenrolapply'] = '从课程中取消自身的选课'; // is this necessary now? $string['apply:unenrolself'] = '从课程中取消自身的选课';