Index: branches/REL1_16/phase3/includes/api/ApiMain.php |
— | — | @@ -262,7 +262,7 @@ |
263 | 263 | header( 'Vary: Cookie' ); |
264 | 264 | if ( $wgUseXVO ) { |
265 | 265 | header( $wgOut->getXVO() ); |
266 | | - if ( $wgOut->hasCacheVaryCookies() ) { |
| 266 | + if ( $wgOut->haveCacheVaryCookies() ) { |
267 | 267 | $this->setCacheControl( array( 'private' => true ) ); |
268 | 268 | } |
269 | 269 | } |