From 3f897b1966cf8e8c4a30a06dce215a725fcf6047 Mon Sep 17 00:00:00 2001
From: Cameron Ball <cameron@moodle.com>
Date: Fri, 8 Jan 2016 14:02:47 +0800
Subject: [PATCH] MDL-51163 course: Remove course/category.php

---
 course/category.php | 31 -------------------------------
 1 file changed, 31 deletions(-)
 delete mode 100644 course/category.php

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 @@
-<?php
-// This file is part of Moodle - http://moodle.org/
-//
-// Moodle is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Moodle is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
-
-/**
- * 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