Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27800 admin: make front page restore link consistent

Conflicts:

	admin/settings/frontpage.php
  • Loading branch information...
commit bdeeadb3c3792f0f1ffbdbb5a7204f391faf6a17 1 parent b66a680
@mackensen mackensen authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/settings/frontpage.php
View
2  admin/settings/frontpage.php
@@ -77,7 +77,7 @@
$ADMIN->add('frontpage', new admin_externalpage('frontpagebackup', get_string('frontpagebackup', 'admin'), $CFG->wwwroot.'/backup/backup.php?id='.SITEID, 'moodle/backup:backupcourse', false, $frontpagecontext));
- $ADMIN->add('frontpage', new admin_externalpage('frontpagerestore', get_string('frontpagerestore', 'admin'), $CFG->wwwroot.'/files/index.php?id='.SITEID.'&wdir=/backupdata', 'moodle/restore:restorecourse', false, $frontpagecontext));
+ $ADMIN->add('frontpage', new admin_externalpage('frontpagerestore', get_string('frontpagerestore', 'admin'), $CFG->wwwroot.'/backup/restorefile.php?contextid='.$frontpagecontext->id, 'moodle/restore:restorecourse', false, $frontpagecontext));
$questioncapabilities = array(
'moodle/question:add',
Please sign in to comment.
Something went wrong with that request. Please try again.