From b830b3e5838d9f70c15e34696f3fb26ab730d5f4 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 20 Mar 2011 17:39:38 +0100 Subject: [PATCH] add sess parameter to User::load_data function --- web/Obj/brisk.phh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 1fa4e68..3d99623 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -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; -- 2.17.1