X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=ImportMailMessage.php;h=ce4ea30d905b74816b063e3e43e3bb0b7a2ab56b;hp=6c82b601ad15fa50840149a05a66a3f349e8e11e;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=5b2f2df50a326e1bff4c3a76f0eb04982bfef9ae diff --git a/ImportMailMessage.php b/ImportMailMessage.php index 6c82b601..ce4ea30d 100644 --- a/ImportMailMessage.php +++ b/ImportMailMessage.php @@ -8,17 +8,14 @@ class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle { function getAuth() { - if (HTML_FlexyFramework::get()->cli) { return true; } - $this->authUser = $this->getAuthUser(); if (!$this->authUser) { return false; } - - return true; + return true; } function get($v, $opts=array()) @@ -30,7 +27,6 @@ class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle function post($v) { - if(isset($_REQUEST['_convertToPlain'])) { require_once 'System.php'; @@ -74,9 +70,6 @@ class Pman_Core_ImportMailMessage extends Pman_Core_ConvertStyle $this->jok($data); } - - var_dump('die');exit; - // Import from file $htmlFile = DB_DataObject::factory('images');