]> git.mjollnir.org Git - moodle.git/commitdiff
accesslib: remove unused static var
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:18:10 +0000 (07:18 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:18:10 +0000 (07:18 +0000)
lib/accesslib.php

index 9bb9dd0a335af6fd1bd9636bd83fb6ba9c87a2da..c6f3330a5fb162b9d2f5ae78b89bda96b780b1a4 100755 (executable)
@@ -1578,8 +1578,6 @@ function load_user_accessdata($userid) {
 function load_all_capabilities() {
     global $USER,$CFG;
 
-    static $defcaps;
-
     $base = '/'.SYSCONTEXTID;
 
     if (isguestuser()) {