]> git.mjollnir.org Git - moodle.git/commit
accesslib: remove some functions we do not need anymore
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:07:08 +0000 (07:07 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:07:08 +0000 (07:07 +0000)
commit221937486513ce88538750fda7a856635fbfbdba
tree90b8e09dcb6175fcb905963bd501fc00a6f4703c
parent204a369c1e20f1830e7ceb86baf2e6503c36c200
accesslib: remove some functions we do not need anymore

This is *the* scary commit. No more scaffolding, no more
training wheels. Remove the legacy has_capabilty_old() and
several supporting functions.

   has_capability_old()
   capability_search()
   is_parent_context()
   roles_context_cmp()
   load_user_capability()
   capability_prohibits()

I've grepped far and wide. Noone else uses the supporting
functions anywhere in-the-known-universe. If I could not
find it, it does not exist.

[Thankful that cvs/git/whatever will hold on to them
 if I end up having to regret this.]
lib/accesslib.php