Old modules and plugins

Note: This database has been replaced by the Moodle Plugins Directory.

Small Hack: Allow Course Creators to approve course requests

Type: Small Hack
Requires: Moodle 1.6

In 1.6, only Administrators can approve courses. If you want to allow Course Creators to approve courses, change the following:

in /course/pending.php, line 11:

if (!isadmin()) {
if (!iscreator()) {

and in /course/edit.php, line 22

if (!isteacheredit ($course->id)) {
if (!isteacheredit && !iscreator ($course->id)) {

Record added by Matt Campbell - Saturday, 4 November 2006, 3:51 AM
Last modified - Monday, 12 May 2008, 6:59 AM