Skip to content

Commit

Permalink
Removed useless require_capability, causing havoc on new module page.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Jul 2, 2009
1 parent f14c0f1 commit 57a29a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion course/modedit.php
Expand Up @@ -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);
Expand Down

0 comments on commit 57a29a9

Please sign in to comment.