[pLog-svn] r2996 - plog/trunk/class/action
    oscar at devel.lifetype.net 
    oscar at devel.lifetype.net
       
    Wed Mar  1 23:23:24 GMT 2006
    
    
  
Author: oscar
Date: 2006-03-01 23:23:24 +0000 (Wed, 01 Mar 2006)
New Revision: 2996
Modified:
   plog/trunk/class/action/viewarticleaction.class.php
Log:
no need to throw the EVENT_POST_LOADED event twice, one here and one in ViewArticleView (which was in fact causing some plugins
to process the same even twice... like the 'smileys' plugin)
Modified: plog/trunk/class/action/viewarticleaction.class.php
===================================================================
--- plog/trunk/class/action/viewarticleaction.class.php	2006-03-01 23:22:38 UTC (rev 2995)
+++ plog/trunk/class/action/viewarticleaction.class.php	2006-03-01 23:23:24 UTC (rev 2996)
@@ -203,9 +203,6 @@
                 return false;
             }
 			
-			// throw the correct event
-			$this->notifyEvent( EVENT_POST_LOADED, Array( "article" => &$article ));			
-
             // check if we have to update how many times an article has been read
             if( $this->_config->getValue( "update_article_reads" )) {
 				$this->updateNumArticleReads( $article->getId());
    
    
More information about the pLog-svn
mailing list