mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
Fixed typo (MDL-9119)
This commit is contained in:
parent
052ba1f503
commit
431fe2f0fd
@ -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…
x
Reference in New Issue
Block a user