From c526fe13a2ba86573c206c12a7961ede489441bb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 Jan 2013 10:29:14 +0800 Subject: [PATCH] UpdateDatabase.php --- UpdateDatabase.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UpdateDatabase.php b/UpdateDatabase.php index defeea6c..c3c6993e 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -286,7 +286,6 @@ class Pman_Core_UpdateDatabase extends Pman } function runUpdateModulesData() { - $this->updateData(); /* foreach of the modules (except core) @@ -294,6 +293,8 @@ class Pman_Core_UpdateDatabase extends Pman require it. + create an instance of it eg. $x = new ...... + call $x->updateData(); } @@ -302,6 +303,7 @@ class Pman_Core_UpdateDatabase extends Pman } + function updateData() { $enum = DB_DataObject::Factory('core_enum'); -- 2.39.2