NotifySmtpCheck.php
[Pman.Core] / UpdateDatabase.php
index 0a3c07a..44da7ec 100644 (file)
@@ -131,10 +131,18 @@ class Pman_Core_UpdateDatabase extends Pman
     {
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
    
-        $this->checkSystem();
+//        $this->checkSystem();
    
         $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;
@@ -192,7 +200,6 @@ class Pman_Core_UpdateDatabase extends Pman
         
         $ar = $this->modulesList();
         
-        
         foreach($ar as $m) {
             
             if(in_array($m, $this->disabled)){