UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Tue, 7 Oct 2014 05:51:05 +0000 (13:51 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 7 Oct 2014 05:51:05 +0000 (13:51 +0800)
UpdateDatabase.php

index 57a6daf..81d076f 100644 (file)
@@ -545,7 +545,14 @@ class Pman_Core_UpdateDatabase extends Pman
         
         
     }
-    
+    /**
+     *
+     * modular import of SQL.
+     * -- if a module implements importSQL
+     *   - then we should not run the import SQL on the children of that folder as it is handled by the module.
+     *   
+     *
+     */
     function runModulesImportSQL()
     {
         
@@ -557,7 +564,8 @@ class Pman_Core_UpdateDatabase extends Pman
         echo "Running importSQL on modules\n";
         // runs core...
         echo "Core\n";
-        $this->updateData(); 
+        
+        
         $modules = array_reverse($this->modulesList());
         
         // move 'project' one to the end...
@@ -577,6 +585,8 @@ class Pman_Core_UpdateDatabase extends Pman
             echo "$module\n";
             $x->updateData();
         }
+        
+        
                 
     }