Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | } |
78 | 78 | |
79 | 79 | class ExtMobileFrontend { |
80 | | - const VERSION = '0.5.65'; |
| 80 | + const VERSION = '0.5.66'; |
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @var DOMDocument |
— | — | @@ -193,7 +193,7 @@ |
194 | 194 | public function testCanonicalRedirect( $request, $title, $output ) { |
195 | 195 | global $wgMobileDomain; |
196 | 196 | $host = $request->getHeader( 'HOST' ); |
197 | | - return ( stristr( $host, $wgMobileDomain ) !== false ) ? false : true; |
| 197 | + return !( stristr( $host, $wgMobileDomain ) !== false ); |
198 | 198 | } |
199 | 199 | |
200 | 200 | public function addMobileFooter( &$obj, &$tpl ) { |