DataObjects/Core_person.php
authorAlan Knowles <alan@roojs.com>
Thu, 17 Dec 2020 06:13:50 +0000 (14:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Dec 2020 06:13:50 +0000 (14:13 +0800)
DataObjects/Core_person.php

index f5166e5..f9abe5c 100644 (file)
@@ -546,14 +546,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
      *
      * eg. genAutoLoginURL($sub, $expires)
      */
-    function genAutoLoginURL($url, $expires = false) {
-    {
-        $expires = $expires  === false ? strtotime("NOW + 1 WEEK") : $expires;
-        return $url.'/'.$this->id .'/'.$expires.'/'.
-            hash('sha254', serialize(array($url, $time, $this->passwd)));
-        
-    }
-    
+  
     function validateAutoLogin($called)
     {
         $bits = explode($called);