From: Matteo Nastasi (mop) Date: Sun, 20 Mar 2011 16:39:38 +0000 (+0100) Subject: add sess parameter to User::load_data function X-Git-Tag: 3.4.4~12 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=b830b3e5838d9f70c15e34696f3fb26ab730d5f4;p=brisk.git add sess parameter to User::load_data function --- 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;