MDL-53477 tool_lp: Register coursecompetencymanage as module capability

This commit is contained in:
Frederic Massart 2016-03-29 16:27:27 +08:00
parent 2f63310d9d
commit 3027fe2016
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ $capabilities = array(
),
'tool/lp:coursecompetencyconfigure' => array(
'captype' => 'write',
'contextlevel' => CONTEXT_COURSE,
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'manager' => CAP_ALLOW
),

View File

@ -25,6 +25,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2016020923; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2016020924; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014110400; // Requires this Moodle version.
$plugin->component = 'tool_lp'; // Full name of the plugin (used for diagnostics).