]> git.mjollnir.org Git - moodle.git/commit
index: use $PAGE->edit_course_allowed() instead of editcourseallowed()
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:47:49 +0000 (07:47 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:47:49 +0000 (07:47 +0000)
commitf7016edcb9964c225f0beac4b9f019acee9d1bd5
tree90b943e0e04d281b512021e00a8bf3728820a919
parent9a55125ef62afd1e3137200530ca0809b5af2dd2
index: use $PAGE->edit_course_allowed() instead of editcourseallowed()

$PAGE->edit_course_allowed() has been reworked and is faster/smarter
than editcourseallowed(). It can also be made more specific on a
per-page-type basis.
index.php