DataObjects/Images.php
[Pman.Core] / DataObjects / Images.php
index e9826a5..22d929f 100644 (file)
@@ -642,7 +642,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         //$p->toEventString();
     }
     
-    function onUploadFromData($filename, $filetype, $data, $roo)
+    function onUploadFromData($data, $roo)
     {
         if (empty($filename) || empty($filetype) || empty($data)) {
             $this->err = "Missing file details";
@@ -687,7 +687,6 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             $this->mimetype  = $y->fromExt($inf['extension']);
         }
         
-        
         $ext = $y->toExt(trim((string) $this->mimetype ));
         
         $this->filename = empty($this->filename) ?