From 9f2dc653a6f111d826a21818837d1e921b4042c8 Mon Sep 17 00:00:00 2001 From: Ariel Glenn Date: Fri, 6 Nov 2009 15:15:40 +0000 Subject: [PATCH] no pass-by-ref needed for CacheHeadersAfterSet --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } /** -- 2.20.1