DataObjects/Core_person.php
authorjohn <john@roojs.com>
Tue, 9 Oct 2018 07:45:12 +0000 (15:45 +0800)
committerjohn <john@roojs.com>
Tue, 9 Oct 2018 07:45:12 +0000 (15:45 +0800)
DataObjects/Core_person.php

index b77161a..a1732aa 100644 (file)
@@ -772,9 +772,6 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         // missing id for core_person mgmt
         if(!empty($q['_to_qr_code'])){
             
-            /*
-            should not update until the verify token returns...
-            
             $au = $this->getAuthUser();
             
             $o = clone($au);
@@ -784,7 +781,6 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
             $au->update($o);
             
             $qrcode = $au->generateQRCode();
-            */
             
             if(empty($qrcode)){
                 $roo->jerr('Fail to generate QR Code');