UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Thu, 14 Jul 2016 05:16:31 +0000 (13:16 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Jul 2016 05:16:31 +0000 (13:16 +0800)
UpdateDatabase.php

index 12c4c57..19507af 100644 (file)
@@ -135,14 +135,6 @@ class Pman_Core_UpdateDatabase extends Pman
    
         $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;
@@ -200,6 +192,7 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $ar = $this->modulesList();
         
+        
         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;
                     }
+                    switch($match[1]) {
+                        
+                        
+                    }
+                    // real errors...
+                    // 1051: // Unknown table -- normally drop = add iff exists..
+                    
                     print_r(array($line,$matches));exit;