Merge branch 'MDL-46418-master-hiddenrepos' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Dan Poltawski 2017-06-19 10:33:37 +01:00
commit 275b5fa8ce

View File

@ -37,7 +37,7 @@ class repository extends base {
*/ */
public static function get_enabled_plugins() { public static function get_enabled_plugins() {
global $DB; global $DB;
return $DB->get_records_menu('repository', array('visible'=>1), 'type ASC', 'type, type AS val'); return $DB->get_records_menu('repository', null, 'type ASC', 'type, type AS val');
} }
public function get_settings_section_name() { public function get_settings_section_name() {