]> projects.mako.cc - scuttle/blobdiff - services/userservice.php
updated readme with information on a series of bugs I know exist
[scuttle] / services / userservice.php
index dde67b5718dc2490b3be7a4de8adc20a1d682c96..a4fdbb7ed0dc1f024c5c4e7b6d2688f186bab1cb 100644 (file)
@@ -19,9 +19,9 @@ class UserService {
   var $tablename;
   var $sessionkey;
   var $cookiekey;
-  var $cookietime = 1209600; // 2 weeks
+  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?