UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:48:50 +0000 (12:48 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Jun 2018 04:48:50 +0000 (12:48 +0800)
UpdateDatabase.php

index 1582527..c4b0911 100644 (file)
@@ -180,7 +180,6 @@ class Pman_Core_UpdateDatabase extends Pman
         if (!empty($opts['debug'])) {
              DB_DataObject::DebugLevel($opts['debug']);
         }
-        var_dump(DB_DataObject::DebugLevel());exit;
         
         // ask all the modules to verify the opts
         
@@ -202,10 +201,9 @@ class Pman_Core_UpdateDatabase extends Pman
         if (!empty($opts['only-module-sql'])) {
             return;
         }
-        if (!empty($opts['debug'])) {
-            DB_DataObject::DebugLevel($opts['debug']);
-        }
-      
+        
+              var_dump(DB_DataObject::DebugLevel());exit;
+
         $this->runUpdateModulesData();
         
         if (!empty($opts['add-company']) && !in_array('Core', $this->disabled)) {