]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
static prefix added to really static lock and unlock _data function definitions
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 19 May 2011 16:40:14 +0000 (18:40 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 19 May 2011 16:43:08 +0000 (18:43 +0200)
web/Obj/auth.phh
web/Obj/brisk.phh
web/Obj/hardban.phh
web/briskin5/Obj/briskin5.phh

index 061538872eb99844d92ca2977800eb5d57768952..00add0c260e8a3aec26f418f2d21b5b084152231 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; 
     
index 7fc7582051d07fc5df7815ccd8e4c97a574914c1..8b126412119aa64766e1ebd9adc072aea3bd00dd 100644 (file)
@@ -3047,7 +3047,7 @@ function sharedmem_sz($tok)
 class Warrant {
     static $delta_t;
 
-  function lock_data()
+  static function lock_data()
   {
     GLOBAL $sess; 
     
@@ -3067,7 +3067,7 @@ class Warrant {
       return (FALSE);
   }
   
-  function unlock_data($res)
+  static function unlock_data($res)
   {
     GLOBAL $sess; 
     
@@ -3080,7 +3080,7 @@ class Warrant {
 class Poll {
     static $delta_t;
 
-  function lock_data()
+    static function lock_data()
   {
     GLOBAL $sess; 
     
@@ -3101,7 +3101,7 @@ class Poll {
       return (FALSE);
   }
   
-  function unlock_data($res)
+  static function unlock_data($res)
   {
     GLOBAL $sess; 
     
index e26fc4c7d5355af81bf8f7dce97133c5c1397b0c..e2eeaba12b5a7d776ab81ae9e939a12e870498be 100644 (file)
@@ -238,7 +238,7 @@ class Hardbans {
     return (FALSE);
   }
 
-  function lock_data()
+  static function lock_data()
   {
     if (($tok = @ftok(FTOK_PATH."/hardbans", "B")) == -1) {
       return (FALSE);
@@ -256,7 +256,7 @@ class Hardbans {
       return (FALSE);
   }
   
-  function unlock_data($res)
+  static function unlock_data($res)
   {
     GLOBAL $sess; 
     
index fffd6921170dae06ce168123cff76ac22002c29f..99bdc1e788982828dd5a2e89800d54a11f47e525 100644 (file)
@@ -992,7 +992,7 @@ class Bin5 {
     return ($ret);
   }
 
-  function lock_data($table_idx)
+  static function lock_data($table_idx)
   {
     GLOBAL $sess; 
     
@@ -1019,7 +1019,7 @@ class Bin5 {
     }
   }
   
-  function unlock_data($res_vect)
+  static function unlock_data($res_vect)
   {
     GLOBAL $sess;