From: Mark A. Hershberger Date: Thu, 15 Jul 2010 01:15:55 +0000 (+0000) Subject: re r69339 use the actual function: s/hasCache/haveCache/ X-Git-Tag: 1.31.0-rc.0~36138 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=99e3ca53767ea7d7a750aca2157ebba98ca163bf;p=lhc%2Fweb%2Fwiklou.git re r69339 use the actual function: s/hasCache/haveCache/ --- 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 ) ); } }