X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/37075e42476b50b9192f330abc7b6bd7b4eefec1..1b57a8783f47606807c879bff785ab64b6860939:/services/userservice.php?ds=inline 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';