DataObjects/Core_email.php
authorEdward <edward@roojs.com>
Fri, 21 Feb 2014 06:04:21 +0000 (14:04 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Feb 2014 06:04:21 +0000 (14:04 +0800)
DataObjects/Core_email.php

index f1dfd87..4fe4488 100644 (file)
@@ -136,13 +136,14 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
             $i->update($ii);
         }
         
-        $this->cachedMailWithOutImages(true, (get_class($this) == 'Pman_Core_DataObjects_Core_email') ? false : true);
+//        $this->cachedMailWithOutImages(true, (get_class($this) == 'Pman_Core_DataObjects_Core_email') ? false : true);
+        $this->cachedMailWithOutImages(true, false);
        
     }
     
     function onUpdate($old, $q,$roo)
     {
-        $this->cachedMailWithOutImages(true, (get_class($this) == 'Pman_Core_DataObjects_Core_email') ? false : true);
+        $this->cachedMailWithOutImages(true, false);
     }
 
 
@@ -205,7 +206,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
     {    
         $contents = (array)$obj;
         
-        $this->cachedMailWithOutImages(true, false);
+//        $this->cachedMailWithOutImages(true, false);
         
         $contents['subject'] = $this->subject;