no pass-by-ref needed for CacheHeadersAfterSet
authorAriel Glenn <ariel@users.mediawiki.org>
Fri, 6 Nov 2009 15:15:40 +0000 (15:15 +0000)
committerAriel Glenn <ariel@users.mediawiki.org>
Fri, 6 Nov 2009 15:15:40 +0000 (15:15 +0000)
includes/OutputPage.php

index 8591283..b349f9b 100644 (file)
@@ -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 ) );
        }
 
        /**