From 78f44060729d1f0c82a396aab1d05cbb75226d2d Mon Sep 17 00:00:00 2001
From: "Matteo Nastasi (mop)" <nastasi@alternativeoutput.it>
Date: Thu, 19 May 2011 18:40:14 +0200
Subject: [PATCH] static prefix added to really static lock and unlock _data
 function definitions

---
 web/Obj/auth.phh              | 4 ++--
 web/Obj/brisk.phh             | 8 ++++----
 web/Obj/hardban.phh           | 4 ++--
 web/briskin5/Obj/briskin5.phh | 4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/web/Obj/auth.phh b/web/Obj/auth.phh
index 0615388..00add0c 100644
--- a/web/Obj/auth.phh
+++ b/web/Obj/auth.phh
@@ -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; 
     
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 7fc7582..8b12641 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -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; 
     
diff --git a/web/Obj/hardban.phh b/web/Obj/hardban.phh
index e26fc4c..e2eeaba 100644
--- a/web/Obj/hardban.phh
+++ b/web/Obj/hardban.phh
@@ -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; 
     
diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh
index fffd692..99bdc1e 100644
--- a/web/briskin5/Obj/briskin5.phh
+++ b/web/briskin5/Obj/briskin5.phh
@@ -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; 
 
-- 
2.17.1