MDL-7010 Convert mod\quiz\config.html to mod/quiz/settingstree.php using the new admin tree system.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user