From 97f3ae8777d0f65cd1e5bdbe2ff07c88e98f2e23 Mon Sep 17 00:00:00 2001 From: poltawski Date: Sun, 23 Dec 2007 17:21:56 +0000 Subject: [PATCH] MDL-9981 - remove hardcoded admin path, merged from MOODLE_19_STABLE --- admin/settings/top.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/settings/top.php b/admin/settings/top.php index de1717b417..8405824ab2 100644 --- a/admin/settings/top.php +++ b/admin/settings/top.php @@ -33,7 +33,7 @@ $ADMIN->add('root', new admin_category('server', get_string('server','admin'))); $ADMIN->add('root', new admin_category('mnet', get_string('net','mnet'))); $ADMIN->add('root', new admin_category('reports', get_string('reports'))); -foreach (get_list_of_plugins('admin/report') as $plugin) { +foreach (get_list_of_plugins($CFG->admin.'/report') as $plugin) { /// This snippet is temporary until simpletest can be fixed to use xmldb. See MDL-7377 XXX TODO if ($plugin == 'simpletest' && $CFG->dbfamily != 'mysql' && $CFG->dbfamily != 'postgres') { continue; -- 2.39.5