Merge branch 'w52_MDL-30943_m23_adminreport' of git://github.com/skodak/moodle
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user