MDL-29029 move unsuproles to admin tools
[moodle.git] / admin / report / profiling / settings.php
1 <?php
3 defined('MOODLE_INTERNAL') || die;
5 // profiling report, added to development
6 if (extension_loaded('xhprof') && function_exists('xhprof_enable') && (!empty($CFG->profilingenabled) || !empty($CFG->earlyprofilingenabled))) {
7     $ADMIN->add('development', new admin_externalpage('reportprofiling', get_string('pluginname', 'report_profiling'), "$CFG->wwwroot/$CFG->admin/report/profiling/index.php", 'moodle/site:config'));
8 }