projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5646ca4
)
DataObjects/Period.php
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Feb 2015 06:23:33 +0000
(14:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Feb 2015 06:23:33 +0000
(14:23 +0800)
DataObjects/Period.php
patch
|
blob
|
history
diff --git
a/DataObjects/Period.php
b/DataObjects/Period.php
index
863b264
..
a62062e
100644
(file)
--- a/
DataObjects/Period.php
+++ b/
DataObjects/Period.php
@@
-78,20
+78,7
@@
class Pman_Xtuple_DataObjects_Period extends DB_DataObject
function initDatabase($roo)
{
- function initDatabase($roo)
- {
- $p = DB_DataObject::Factory('period');
- if ($p->count()) {
- echo "SKIP - already have periods\n";
- return;
- }
- $p->initPeriods($this);
- $p->initPeriods($this);
- $p->initPeriods($this);
- $p->initPeriods($this);
- }
-
$this->initPeriods($roo);
}