mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-53700 competency: Migrate capabilities to core
This commit is contained in:
parent
1f7699533c
commit
b90e2205b4
42 changed files with 791 additions and 821 deletions
|
@ -37,7 +37,7 @@ if (\tool_lp\api::is_enabled()) {
|
|||
'toollpcompetencies',
|
||||
get_string('competencyframeworks', 'tool_lp'),
|
||||
new moodle_url('/admin/tool/lp/competencyframeworks.php', array('pagecontextid' => context_system::instance()->id)),
|
||||
array('tool/lp:competencymanage')
|
||||
array('moodle/competency:competencymanage')
|
||||
);
|
||||
$ADMIN->add($parentname, $temp);
|
||||
|
||||
|
@ -46,7 +46,7 @@ if (\tool_lp\api::is_enabled()) {
|
|||
'toollplearningplans',
|
||||
get_string('templates', 'tool_lp'),
|
||||
new moodle_url('/admin/tool/lp/learningplans.php', array('pagecontextid' => context_system::instance()->id)),
|
||||
array('tool/lp:templatemanage')
|
||||
array('moodle/competency:templatemanage')
|
||||
);
|
||||
$ADMIN->add($parentname, $temp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue