moodle/backup/log.php

12 lines
317 B
PHP
Raw Normal View History

<?php
// log.php - old scheduled backups report. Now redirecting
// to the new admin one
require_once("../config.php");
require_login();
require_capability('moodle/backup:backupcourse', context_system::instance());
redirect("$CFG->wwwroot/report/backups/index.php", '', 'admin', 1);