MDL-51645 tool_lp: Rename the plan capabilities

This commit is contained in:
Serge Gauthier 2015-10-20 09:49:22 -04:00 committed by Frederic Massart
parent 3a4c71dc22
commit 53084abb75
10 changed files with 45 additions and 45 deletions

View file

@ -60,7 +60,7 @@ function tool_lp_myprofile_navigation(core_user\output\myprofile\tree $tree, $us
global $USER;
$context = context_user::instance($USER->id);
if (!$iscurrentuser && !has_capability('tool/lp:planviewall', $context)) {
if (!$iscurrentuser && !has_capability('tool/lp:planview', $context)) {
return false;
}