MDL-30943 fix forgotten admin/report/ references

This commit is contained in:
Petr Skoda
2011-12-28 19:36:23 +01:00
parent 2117dcb591
commit daca599ff1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ foreach ($sortedqtypes as $qtypename => $localname) {
$strcount = $counts[$qtypename]->numquestions;
}
if ($canviewreports) {
$row[] = html_writer::link(new moodle_url('/admin/report/questioninstances/index.php',
$row[] = html_writer::link(new moodle_url('/report/questioninstances/index.php',
array('qtype' => $qtypename)), $strcount, array('title' => get_string('showdetails', 'admin')));
} else {
$strcount;
+1 -1
View File
@@ -8,4 +8,4 @@
require_capability('moodle/backup:backupcourse', get_context_instance(CONTEXT_SYSTEM));
redirect("$CFG->wwwroot/$CFG->admin/report/backups/index.php", '', 'admin', 1);
redirect("$CFG->wwwroot/report/backups/index.php", '', 'admin', 1);
@@ -195,7 +195,7 @@ abstract class backup_cron_automated_helper {
//Reference
if ($haserrors) {
$message .= " ".get_string('backupfailed')."\n\n";
$dest_url = "$CFG->wwwroot/$CFG->admin/report/backups/index.php";
$dest_url = "$CFG->wwwroot/report/backups/index.php";
$message .= " ".get_string('backuptakealook','',$dest_url)."\n\n";
//Set message priority
$admin->priority = 1;