]> git.mjollnir.org Git - moodle.git/commit
accesslib: is_siteadmin() bugfixes
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:48:43 +0000 (07:48 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:48:43 +0000 (07:48 +0000)
commit987e7eb19a7279526537d4038e239b9e9f3279f6
tree48c489f7e6731e7eede4cd511881759dcc88b6f9
parent9f560a0ccb4913c8f6931bd18cb7aadf746084ef
accesslib: is_siteadmin() bugfixes

Fixed two horrid bugs in is_siteadmin(). Both userid and the check for
matching cpabilities lines were wrong.
lib/accesslib.php