projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c780e3
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Jul 2016 05:16:31 +0000
(13:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Jul 2016 05:16:31 +0000
(13:16 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
12c4c57
..
19507af
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-135,14
+135,6
@@
class Pman_Core_UpdateDatabase extends Pman
$ff = HTML_FlexyFramework::get();
$ff = HTML_FlexyFramework::get();
-// if(!empty($ff->Core_Notify)){
-// require_once 'Pman/Core/NotifySmtpCheck.php';
-// $x = new Pman_Core_NotifySmtpCheck();
-// $x->check();
-// }
-//
-// EXIT;
-
$this->disabled = explode(',', $ff->disable);
//$this->fixSequencesPgsql();exit;
$this->disabled = explode(',', $ff->disable);
//$this->fixSequencesPgsql();exit;
@@
-200,6
+192,7
@@
class Pman_Core_UpdateDatabase extends Pman
$ar = $this->modulesList();
$ar = $this->modulesList();
+
foreach($ar as $m) {
if(in_array($m, $this->disabled)){
foreach($ar as $m) {
if(in_array($m, $this->disabled)){
@@
-414,6
+407,13
@@
class Pman_Core_UpdateDatabase extends Pman
echo "OK - {$line}\n"; flush();
continue;
}
echo "OK - {$line}\n"; flush();
continue;
}
+ switch($match[1]) {
+
+
+ }
+ // real errors...
+ // 1051: // Unknown table -- normally drop = add iff exists..
+
print_r(array($line,$matches));exit;
print_r(array($line,$matches));exit;