Course Approval: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
in /course/pending.php, line 11: | in /course/pending.php, line 11: | ||
if (!isadmin()) { | if (!isadmin()) { | ||
to | to | ||
if (!iscreator()) { | if (!iscreator()) { | ||
and in /course/edit.php, line 22 | and in /course/edit.php, line 22 | ||
if (!isteacheredit ($course->id)) { | if (!isteacheredit ($course->id)) { | ||
to | to | ||
if (!isteacheredit && !iscreator ($course->id)) { | if (!isteacheredit && !iscreator ($course->id)) { |
Latest revision as of 19:04, 3 November 2006
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()) { to if (!iscreator()) {
and in /course/edit.php, line 22
if (!isteacheredit ($course->id)) { to if (!isteacheredit && !iscreator ($course->id)) {