-
tjhunt authored
course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability. * Note: this would never lead to problems with default role definions. * Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed. * New helper function require_all_capabilities, a bit like require_any_capability.
8a1b1c32