*grumble grumble* know it alls think I'm abusing $wgMiserMode. So fine, have a SHINY...
[lhc/web/wiklou.git] / includes / Feed.php
index 3e0c913..ef33c78 100644 (file)
@@ -239,13 +239,13 @@ class ChannelFeed extends FeedItem {
         * but can also be called separately.
         */
        public function httpHeaders() {
-               global $wgOut, $wgVaryOnXFPForAPI;
+               global $wgOut, $wgVaryOnXFP;
 
                # We take over from $wgOut, excepting its cache header info
                $wgOut->disable();
                $mimetype = $this->contentType();
                header( "Content-type: $mimetype; charset=UTF-8" );
-               if ( $wgVaryOnXFPForAPI ) {
+               if ( $wgVaryOnXFP ) {
                        $wgOut->addVaryHeader( 'X-Forwarded-Proto' );
                }
                $wgOut->sendCacheControl();