DataObjects/Images.php
[Pman.Core] / ImportMailMessage.php
index 5901c52..d53e860 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
+// should be in import folder... need to know where this is used though...
+
 require_once 'ConvertStyle.php';
 
-class Pman_Crm_ImportHtml extends Pman_Core_ConvertStyle 
+class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle 
 {
     function getAuth()
     {
@@ -16,15 +18,15 @@ class Pman_Crm_ImportHtml 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']))
         {
             require_once 'System.php';
@@ -61,7 +63,6 @@ class Pman_Crm_ImportHtml extends Pman_Core_ConvertStyle
         // Import from URL
         if(isset($_REQUEST['importUrl']))
         {
-            print_r($_REQUEST);exit;
             $this->checkHeader($_REQUEST['importUrl']);
             $data = $this->convertStyle($_REQUEST['importUrl'], '', true);