]> git.mjollnir.org Git - moodle.git/commit
moodlelib: isediting() uses $PAGE->user_allowed_editing(), drop editcourseallowed()
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:48:03 +0000 (07:48 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:48:03 +0000 (07:48 +0000)
commit0df35335ba822fa0c2e697734de4ebf6bd5d52f7
tree779751aaaa9061d4a0c2f5e7a45fe16338a61493
parentf7016edcb9964c225f0beac4b9f019acee9d1bd5
moodlelib: isediting() uses $PAGE->user_allowed_editing(), drop editcourseallowed()

With this commit, isediting() checks with the page if the user is
allowed editing. And as the last caller of editcourseallowed() is gone,
remove it.
lib/moodlelib.php