moodle/backup/log.php

14 lines
344 B
PHP

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