projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05255c8
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Thu, 26 Feb 2015 07:57:40 +0000
(15:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 26 Feb 2015 07:57:40 +0000
(15:57 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
60f484f
..
a287f8c
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-263,6
+263,10
@@
class Pman_Xtuple_DataObjects_Person extends Pman_Core_DataObjects_Person {
//return DB_DataObject::factory('salesrep');
}
+ function canInitializeSystem() // to enable empty database initialization
+ {
+ return !strcasecmp(get_class($this) , __CLASS__);
+ }
function authUserArray()
{