r40343 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40342‎ | r40343 | r40344 >
Date:21:38, 2 September 2008
Author:aaron
Status:old
Tags:
Comment:
Add ampersand to hook
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2970,7 +2970,7 @@
29712971
29722972 if ( $cacheable ) {
29732973 //extension may have reason to disable file caching on some pages.
2974 - $cacheable = wfRunHooks( 'IsFileCacheable', array( $this ) );
 2974+ $cacheable = wfRunHooks( 'IsFileCacheable', array( &$this ) );
29752975 }
29762976
29772977 return $cacheable;