Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -735,8 +735,8 @@ |
736 | 736 | * against a list of approved open proxies, which we don't actually |
737 | 737 | * care about. |
738 | 738 | */ |
739 | | - $trustedProxyCheckFunction = ( function_exists( 'wfIsConfiguredProxy' )) ? 'wfIsConfiguredProxy' : 'wfIsTrustedProxy'; |
740 | | - if ( $trustedProxyCheckFunction( $ip )) { |
| 739 | + $trustedProxyCheckFunction = ( function_exists( 'wfIsConfiguredProxy' ) ) ? 'wfIsConfiguredProxy' : 'wfIsTrustedProxy'; |
| 740 | + if ( $trustedProxyCheckFunction( $ip ) ) { |
741 | 741 | $wgRequest->response()->header( 'Cache-Control: no-cache, must-revalidate' ); |
742 | 742 | $wgRequest->response()->header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); |
743 | 743 | $wgRequest->response()->header( 'Pragma: no-cache' ); |