From 1b646c2a1fce2cfa1acaff7cd4eb6e5f7e2c8604 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 25 Feb 2015 14:23:33 +0800 Subject: [PATCH] DataObjects/Period.php --- DataObjects/Period.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/DataObjects/Period.php b/DataObjects/Period.php index 863b2648..a62062e8 100644 --- 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); } -- 2.39.2