function xmldb_tool_unittest_install() {
global $CFG;
- // this is a hack - this plugin used to live in admin/tool/unittest,
+ // this is a hack - this plugin used to live in admin/report/unittest,
// we want to remove the orphaned version info and capability
// unless there is a new report type with the same name
if (function_exists('profiling_is_running') && profiling_is_running()) {
$txt = get_string('profiledscript', 'admin');
$title = get_string('profiledscriptview', 'admin');
- $url = $CFG->wwwroot . '/admin/report/profiling/index.php?script=' . urlencode($SCRIPT);
+ $url = $CFG->wwwroot . '/admin/tool/profiling/index.php?script=' . urlencode($SCRIPT);
$link= '<a title="' . $title . '" href="' . $url . '">' . $txt . '</a>';
$output .= '<div class="profilingfooter">' . $link . '</div>';
}