projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d444bb4
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Thu, 26 Feb 2015 07:32:04 +0000
(15:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 26 Feb 2015 07:32:04 +0000
(15:32 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
89a6f3a
..
4e598b4
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-279,7
+279,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
}
- if (!
strcasecmp(get_class($this) , __CLASS__
)) {
+ if (!
$this->canInitializeSystem(
)) {
return false;
}
@@
-386,7
+386,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
}
unset($_SESSION[get_class($this)][$sesPrefix .'-auth']);
}
- if (!
strcasecmp(get_class($this) , __CLASS__
)) {
+ if (!
$this->canInitializeSystem(
)) {
return false;
}