From: Alan Knowles Date: Fri, 22 Jun 2018 04:48:50 +0000 (+0800) Subject: UpdateDatabase.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=ebc1399c247f95d38e041edbe6d4433e3506b78c UpdateDatabase.php --- diff --git a/UpdateDatabase.php b/UpdateDatabase.php index 15825273..c4b09117 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -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)) {