MDL-20697 get_site() replaced by proper installation time test
[moodle.git] / admin / settings / unsupported.php
CommitLineData
c9a49cea 1<?php // $Id$
2
3// This file defines settingpages and externalpages in the "unsupported" hidden category, use wisely!
4
a559f630 5if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
6
64874c5a 7 $ADMIN->add('unsupported', new admin_externalpage('purgemoodledata', 'Purge moodledata', $CFG->wwwroot.'/'.$CFG->admin.'/delete.php', 'moodle/site:config', true));
8 $ADMIN->add('unsupported', new admin_externalpage('healthcenter', get_string('healthcenter'), $CFG->wwwroot.'/'.$CFG->admin.'/health.php', 'moodle/site:config', true));
9 $ADMIN->add('unsupported', new admin_externalpage('toinodb', 'Convert to InnoDB', $CFG->wwwroot.'/'.$CFG->admin.'/innodb.php', 'moodle/site:config', true));
10 $ADMIN->add('unsupported', new admin_externalpage('replace', 'Search and replace', $CFG->wwwroot.'/'.$CFG->admin.'/replace.php', 'moodle/site:config', true));
c9a49cea 11
a559f630 12} // end of speedup
c9a49cea 13
14?>