mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 01:44:27 +02:00
Hide simpletest on oracle and mssql until it works MDL-7337
This commit is contained in:
parent
d3674ed965
commit
319ef1a6ea
@ -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"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user