DataObjects/Core_person.php
authorjohn <john@roojs.com>
Thu, 11 Oct 2018 03:33:21 +0000 (11:33 +0800)
committerjohn <john@roojs.com>
Thu, 11 Oct 2018 03:33:21 +0000 (11:33 +0800)
DataObjects/Core_person.php

index 15c86c6..3f6753f 100644 (file)
@@ -766,13 +766,6 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
     function applyFilters($q, $au, $roo)
     {
         //DB_DataObject::DebugLevel(1);
-        if(!empty($q['_generate_oath_key'])){
-            $o = clone($this);
-            $this->oath_key = $this->getOathKey();
-            $this->update($o);
-            $roo->jok('OK');
-        }
-        
         if(!empty($q['_to_qr_code'])){
             
             $person = DB_DataObject::factory('Core_person');