mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-21782 removing confusing and unused capability from cohort enrol, we use general enrolconfig cap instead
This commit is contained in:
parent
6a39275870
commit
99c5d186ed
@ -23,15 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$capabilities = array(
|
||||
// configure the cohort plugin settings in each course
|
||||
'enrol/cohort:config' => array(
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_COURSE,
|
||||
'legacy' => array(
|
||||
'manager' => CAP_ALLOW,
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -23,6 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['cohort:config'] = 'Configure cohort instances';
|
||||
$string['pluginname'] = 'Cohort sync';
|
||||
$string['pluginname_desc'] = 'Cohort enrolment plugin synchronises cohort members with course participants.';
|
||||
|
@ -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