mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch '41502-28' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
b77130af5e
4 changed files with 0 additions and 273 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue