https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112182

Revision: 112182
Author:   awjrichards
Date:     2012-02-23 02:04:57 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
Followup r112056 - fixing spacing to conform to coding conventions

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/MobileFrontend.body.php

Modified: trunk/extensions/MobileFrontend/MobileFrontend.body.php
===================================================================
--- trunk/extensions/MobileFrontend/MobileFrontend.body.php     2012-02-23 
02:04:56 UTC (rev 112181)
+++ trunk/extensions/MobileFrontend/MobileFrontend.body.php     2012-02-23 
02:04:57 UTC (rev 112182)
@@ -735,8 +735,8 @@
                 * against a list of approved open proxies, which we don't 
actually 
                 * care about.
                 */
-               $trustedProxyCheckFunction = ( function_exists( 
'wfIsConfiguredProxy' )) ? 'wfIsConfiguredProxy' : 'wfIsTrustedProxy';
-               if ( $trustedProxyCheckFunction( $ip )) {
+               $trustedProxyCheckFunction = ( function_exists( 
'wfIsConfiguredProxy' ) ) ? 'wfIsConfiguredProxy' : 'wfIsTrustedProxy';
+               if ( $trustedProxyCheckFunction( $ip ) ) {
                        $wgRequest->response()->header( 'Cache-Control: 
no-cache, must-revalidate' );
                        $wgRequest->response()->header( 'Expires: Sat, 26 Jul 
1997 05:00:00 GMT' );
                        $wgRequest->response()->header( 'Pragma: no-cache' );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to