From 319ef1a6ea20af27990f9e3d46c8f04b3f9e4bb3 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 7 Nov 2006 02:53:39 +0000 Subject: [PATCH] Hide simpletest on oracle and mssql until it works MDL-7337 --- admin/settings/top.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/settings/top.php b/admin/settings/top.php index 9cac2c8868..963db2141d 100644 --- a/admin/settings/top.php +++ b/admin/settings/top.php @@ -28,7 +28,12 @@ $ADMIN->add('root', new admin_category('appearance', get_string('appearance','ad $ADMIN->add('root', new admin_category('server', get_string('server','admin'))); $ADMIN->add('root', new admin_category('reports', get_string('reports'))); -foreach(get_list_of_plugins('admin/report') as $plugin) { +foreach (get_list_of_plugins('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->dbtype != 'mysql' && $CFG->dbtype != 'postgres7') { + continue; + } +/// End of removable snippet $ADMIN->add('reports', new admin_externalpage('report'.$plugin, get_string($plugin, 'admin'), "$CFG->wwwroot/$CFG->admin/report/$plugin/index.php")); } -- 2.39.5