From: Ariel Glenn Date: Fri, 6 Nov 2009 15:15:40 +0000 (+0000) Subject: no pass-by-ref needed for CacheHeadersAfterSet X-Git-Tag: 1.31.0-rc.0~38943 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=9f2dc653a6f111d826a21818837d1e921b4042c8;p=lhc%2Fweb%2Fwiklou.git no pass-by-ref needed for CacheHeadersAfterSet --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 85912834cb..b349f9b002 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1101,7 +1101,7 @@ class OutputPage { $response->header( 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate' ); $response->header( 'Pragma: no-cache' ); } - wfRunHooks('CacheHeadersAfterSet', array( &$this ) ); + wfRunHooks('CacheHeadersAfterSet', array( $this ) ); } /**