Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
[moodle.git] / backup / log.php
blob7cb17f8f090e9a26905980390054bff5ef3f903b
1 <?php
2 // log.php - old scheduled backups report. Now redirecting
3 // to the new admin one
5 require_once("../config.php");
7 require_login();
9 require_capability('moodle/backup:backupcourse', context_system::instance());
11 redirect("$CFG->wwwroot/report/backups/index.php", '', 'admin', 1);