MDL-29029 admin_tool - fixed 2 ocurrences pointing to old paths
This commit is contained in:
@@ -28,7 +28,7 @@ defined('MOODLE_INTERNAL') || die;
|
||||
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
|
||||
|
||||
|
||||
@@ -394,7 +394,7 @@ class core_renderer extends renderer_base {
|
||||
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>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user