Merge branch '41502-28' of git://github.com/samhemelryk/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2014-07-09 00:51:22 +02:00
commit b77130af5e
4 changed files with 0 additions and 273 deletions

View file

@ -233,7 +233,6 @@ if ($action !== false && confirm_sesskey()) {
if (!$category->can_delete()) {
throw new moodle_exception('permissiondenied', 'error', '', null, 'coursecat::can_resort');
}
require_once($CFG->dirroot.'/course/delete_category_form.php');
$mform = new core_course_deletecategory_form(null, $category);
if ($mform->is_cancelled()) {
redirect($PAGE->url);