From 99e3ca53767ea7d7a750aca2157ebba98ca163bf Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Thu, 15 Jul 2010 01:15:55 +0000 Subject: [PATCH] re r69339 use the actual function: s/hasCache/haveCache/ --- includes/api/ApiMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 4e8be4d44b..56ff118e2b 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -256,7 +256,7 @@ class ApiMain extends ApiBase { header( 'Vary: Cookie' ); if ( $wgUseXVO ) { header( $wgOut->getXVO() ); - if ( $wgOut->hasCacheVaryCookies() ) { + if ( $wgOut->haveCacheVaryCookies() ) { $this->setCacheControl( array( 'private' => true ) ); } } -- 2.20.1