From 57a29a9735624f759af5cf300f83b12db01d4c37 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 2 Jul 2009 07:44:56 +0000 Subject: [PATCH] Removed useless require_capability, causing havoc on new module page. --- course/modedit.php | 1 - 1 file changed, 1 deletion(-) diff --git a/course/modedit.php b/course/modedit.php index c5987683f6..771c72fab5 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -558,7 +558,6 @@ } else { $context = get_context_instance(CONTEXT_COURSE, $course->id); } - require_capability('moodle/course:manageactivities', $context); $streditinga = get_string('editinga', 'moodle', $fullmodulename); $strmodulenameplural = get_string('modulenameplural', $module->name); -- 2.39.5