Permalink
Browse files

MDL-30943 fix forgotten admin/report/ references

  • Loading branch information...
1 parent 1243bf8 commit 9cad3e182d76372eddf968fd065cec7f8dc02931 @skodak skodak committed with Sam Hemelryk Dec 28, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 admin/qtypes.php
  2. +1 −1 backup/log.php
  3. +1 −1 backup/util/helper/backup_cron_helper.class.php
View
@@ -217,7 +217,7 @@
$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;
View
@@ -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 @@ public static function run_automated_backup($rundirective = self::RUN_ON_SCHEDUL
//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;

0 comments on commit 9cad3e1

Please sign in to comment.