static prefix added to really static lock and unlock _data function definitions
[brisk.git] / web / Obj / auth.phh
index 0615388..00add0c 100644 (file)
@@ -244,7 +244,7 @@ class Challenges {
         return (FALSE);
     }
 
-    function lock_data()
+    static function lock_data()
     {
         if (($tok = @ftok(FTOK_PATH."/challenges", "B")) == -1) {
             return (FALSE);
@@ -262,7 +262,7 @@ class Challenges {
             return (FALSE);
     }
   
-    function unlock_data($res)
+    static function unlock_data($res)
     {
         GLOBAL $sess;