DataObjects/Images.php
authorEdward <edward@roojs.com>
Wed, 9 Jan 2013 08:09:40 +0000 (16:09 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jan 2013 08:09:40 +0000 (16:09 +0800)
DataObjects/Images.php

index 64252ed..ac5ce61 100644 (file)
@@ -57,7 +57,9 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
     function beforeInsert($q, $roo) 
     {
         if (isset($q['_remote_upload'])) {
-            $fn = $this->remoteUpload($roo, $q['_remote_upload']);
+            //$fn = $this->remoteUpload($roo, $q['_remote_upload']);
+            
+            // load the file..
             $this->createFrom($fn);
             
             $roo->addEvent("ADD", $this, $this->toEventString());