X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/ee4f9d147f942a6656090e29162f385917eb319d..HEAD:/services/userservice.php 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';