projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
349bd77
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Fri, 22 Jun 2018 04:48:50 +0000
(12:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 22 Jun 2018 04:48:50 +0000
(12:48 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
1582527
..
c4b0911
100644
(file)
--- 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']);
}
if (!empty($opts['debug'])) {
DB_DataObject::DebugLevel($opts['debug']);
}
- var_dump(DB_DataObject::DebugLevel());exit;
// ask all the modules to verify the opts
// 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['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)) {
$this->runUpdateModulesData();
if (!empty($opts['add-company']) && !in_array('Core', $this->disabled)) {