]> projects.mako.cc - scuttle/blobdiff - services/userservice.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / services / userservice.php
index b55a7df44ec63f8f0bf75f70400f8bee3f81597f..a4fdbb7ed0dc1f024c5c4e7b6d2688f186bab1cb 100644 (file)
@@ -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';

Benjamin Mako Hill || Want to submit a patch?