mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-21782 removing confusing and unused capability from meta enrol, we use general enrolconfig cap instead
This commit is contained in:
parent
99c5d186ed
commit
9d126c7d8a
@ -24,14 +24,6 @@
|
||||
*/
|
||||
|
||||
$capabilities = array(
|
||||
'enrol/meta:config' => array(
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'legacy' => array(
|
||||
'manager' => CAP_ALLOW,
|
||||
)
|
||||
),
|
||||
|
||||
// select some course as source
|
||||
'enrol/meta:selectaslinked' => array(
|
||||
'captype' => 'read',
|
||||
|
@ -24,7 +24,6 @@
|
||||
*/
|
||||
|
||||
$string['linkedcourse'] = 'Link course';
|
||||
$string['meta:config'] = 'Configure meta link enrol instances';
|
||||
$string['meta:selectaslinked'] = 'Select course as meta linked';
|
||||
$string['nosyncroleids'] = 'Roles that are not synchronised';
|
||||
$string['nosyncroleids_desc'] = 'By default all course level role assignments are synchronised from parent to child courses. Roles that are selected here will not be included in the synchronisation process. The current roles will be updated in the next cron execution.';
|
||||
|
@ -23,5 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$plugin->version = 2010061500;
|
||||
$plugin->version = 2010071800;
|
||||
$plugin->cron = 60;
|
Loading…
x
Reference in New Issue
Block a user