MDL-21782 removing confusing and unused capability from cohort enrol, we use general enrolconfig cap instead

This commit is contained in:
Petr Skoda 2010-07-18 13:20:15 +00:00
parent 6a39275870
commit 99c5d186ed
3 changed files with 1 additions and 12 deletions

View File

@ -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,
)
),
);

View File

@ -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.';

View File

@ -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;