X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/01ea41393b399b1803aa50f0e0e7c05c06ee16af..HEAD:/services/userservice.php?ds=sidebyside diff --git a/services/userservice.php b/services/userservice.php index b55a7df..a4fdbb7 100644 --- a/services/userservice.php +++ b/services/userservice.php @@ -21,7 +21,7 @@ class UserService { var $cookiekey; var $cookietime = 63072000; // 2 years - function UserService(&$db) { + function __construct(&$db) { $this->db =& $db; $this->tablename = $GLOBALS['tableprefix'] .'users'; $this->sessionkey = $GLOBALS['cookieprefix'] .'-currentuserid';