MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system.

This commit is contained in:
tjhunt
2008-08-26 01:05:01 +00:00
parent 5261baf11e
commit e2249afe2b
19 changed files with 611 additions and 621 deletions
-4
View File
@@ -29,10 +29,6 @@ if ($hassiteconfig) {
include($CFG->dirroot.'/mod/'.$modulename.'/settings.php');
}
$ADMIN->add('modsettings', $settings);
} else if (file_exists($CFG->dirroot.'/mod/'.$modulename.'/config.html')) {
//TODO this branch should be deleted as soon as quiz/config.html has been
//migrated to settings.php
$ADMIN->add('modsettings', new admin_externalpage('modsetting'.$modulename, $strmodulename, "$CFG->wwwroot/$CFG->admin/module.php?module=$modulename", 'moodle/site:config', !$module->visible));
}
}
}