SimpleExcel.php
[Pman.Core] / ImportMailMessage.php
index 2e17207..ce4ea30 100644 (file)
@@ -18,14 +18,14 @@ class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle
         return true;
     }
     
-    function get()
+    function get($v, $opts=array())
     {
         $this->post();
         
         return $this->jerr("not allowed");
     }
     
-    function post()
+    function post($v)
     {   
         if(isset($_REQUEST['_convertToPlain']))
         {
@@ -56,6 +56,7 @@ class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle
             }
             require_once 'File/Convert.php';
             $fc = new File_Convert($path, 'text/html');
+            
             $plain = $fc->convert('text/plain');
             $this->jok(file_get_contents($plain));
         }