no pass-by-ref needed for CacheHeadersAfterSet
[lhc/web/wiklou.git] / 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 ) );
        }
 
        /**