UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Wed, 16 Jan 2013 02:29:14 +0000 (10:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 Jan 2013 02:29:14 +0000 (10:29 +0800)
UpdateDatabase.php

index defeea6..c3c6993 100644 (file)
@@ -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');