add sess parameter to User::load_data function
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 16:39:38 +0000 (17:39 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 20 Mar 2011 16:39:38 +0000 (17:39 +0100)
web/Obj/brisk.phh

index 1fa4e68..3d99623 100644 (file)
@@ -871,10 +871,8 @@ class User {
 
 
   // SHSPLIT save and load function for the User class.
-  function load_data($id
+  static function load_data($id, $sess
   {
-    GLOBAL $sess;
-
     // error_log("User::load_data BEGIN", 0);
 
     $doexit = FALSE;