diff --git a/course/category.php b/course/category.php deleted file mode 100644 index 89a119d3e4e..00000000000 --- a/course/category.php +++ /dev/null @@ -1,31 +0,0 @@ -. - -/** - * Displays the top level category or all courses - * - * @package core_coure - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -require_once("../config.php"); - -$categoryid = required_param('id', PARAM_INT); // Category id. - -debugging('Please use URL /course/index.php?categoryid=XXX instead of /course/category.php?id=XXX', DEBUG_DEVELOPER); - -redirect(new moodle_url('/course/index.php', array('categoryid' => $categoryid))); \ No newline at end of file