re r69339 use the actual function: s/hasCache/haveCache/
authorMark A. Hershberger <mah@users.mediawiki.org>
Thu, 15 Jul 2010 01:15:55 +0000 (01:15 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Thu, 15 Jul 2010 01:15:55 +0000 (01:15 +0000)
includes/api/ApiMain.php

index 4e8be4d..56ff118 100644 (file)
@@ -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 ) );
                                }
                        }