[pLog-svn] r1994 - plugins/trunk/moblog/class/moblog

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed May 11 22:39:06 GMT 2005


Author: oscar
Date: 2005-05-11 22:39:05 +0000 (Wed, 11 May 2005)
New Revision: 1994

Modified:
   plugins/trunk/moblog/class/moblog/mimeDecode.class.php
Log:
fixed one small issue with the Mail_mimeDecode and php 4.2. By the way, does anybody know in which php release the identifier__CLASS__ started to be available?

Modified: plugins/trunk/moblog/class/moblog/mimeDecode.class.php
===================================================================
--- plugins/trunk/moblog/class/moblog/mimeDecode.class.php	2005-05-11 20:55:23 UTC (rev 1993)
+++ plugins/trunk/moblog/class/moblog/mimeDecode.class.php	2005-05-11 22:39:05 UTC (rev 1994)
@@ -173,7 +173,10 @@
     function decode($params = null)
     {
         // determine if this method has been called statically
-        $isStatic = !(isset($this) && get_class($this) == __CLASS__);
+        // Oscar: WTF are they doing here??????
+        //$isStatic = !(isset($this) && get_class($this) == __CLASS__); 
+        $isStatic = !(isset($this));
+        //MoblogLogger::log("isStatic = $isStatic - class = ".get_class($this)." - class2 = ".__CLASS__);
 
         // Have we been called statically?
 	// If so, create an object and pass details to that.




More information about the pLog-svn mailing list