MDL-29029 admin_tool - fixed 2 ocurrences pointing to old paths

This commit is contained in:
Eloy Lafuente (stronk7)
2011-09-19 18:54:30 +02:00
parent 9d8d55a00e
commit 4ac92d2ac1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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>';
}