mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
Fixed typo (MDL-9119)
This commit is contained in:
parent
052ba1f503
commit
431fe2f0fd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class block_admin_bookmarks extends block_base {
|
|||
}
|
||||
|
||||
function applicable_formats() {
|
||||
if (has_capability('moodle/site:mnetlogintoremote', get_context_instance(CONTEXT_SYSTEM), NULL, false)) {
|
||||
if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) {
|
||||
return array('all' => true);
|
||||
} else {
|
||||
return array('all' => false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue