UpdateDatabase.php
[Pman.Core] / NotifySmtpCheck.php
index c9854bd..5398143 100644 (file)
@@ -6,16 +6,6 @@ require_once 'Mail/smtpmx.php';
         
 class Pman_Core_NotifySmtpCheck extends Pman
 {
-    static $cli_desc = "Check SMTP";
-    static $cli_opts = array();
-        
-    function get()
-    {
-        $this->check();
-        
-    }
-    
     function check()
     {
         $ff = HTML_FlexyFramework::get();
@@ -63,7 +53,7 @@ class Pman_Core_NotifySmtpCheck extends Pman
             }
         }
         
-        print_r($error);exit;
+        return $error;
     }
     
     function getHelo()