Fixed typo (MDL-9119)

This commit is contained in:
moodler 2007-03-30 17:07:12 +00:00
parent 052ba1f503
commit 431fe2f0fd

View File

@ -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);