mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-46418-master-hiddenrepos' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
275b5fa8ce
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user