projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ff8c8
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Wed, 10 Oct 2018 04:07:30 +0000
(12:07 +0800)
committer
john
<john@roojs.com>
Wed, 10 Oct 2018 04:07:30 +0000
(12:07 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
3d8ed71
..
bcc72f5
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-818,12
+818,9
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
if(!empty($q['oath_key_disable'])) {
- if($q['id'] == 'is_auth') {
- $person = $this->getAuthUser();
- } else {
- $person = DB_DataObject::factory('Core_person');
- $person->get($q['id']);
- }
+ $person = DB_DataObject::factory('Core_person');
+
+ $person->get($q['id']);
$o = clone($person);