Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -694,7 +694,7 @@ |
695 | 695 | |
696 | 696 | $hideSearchBox = $wgRequest->getText( 'hidesearchbox' ); |
697 | 697 | |
698 | | - if ( $hideSearchBox && $hideSearchBox == 1 ) { |
| 698 | + if ( $hideSearchBox == 1 ) { |
699 | 699 | self::$hideSearchBox = true; |
700 | 700 | } |
701 | 701 | |
— | — | @@ -712,7 +712,7 @@ |
713 | 713 | } |
714 | 714 | } |
715 | 715 | |
716 | | - if ( self::$hideLogo && self::$hideLogo == true ) { |
| 716 | + if ( self::$hideLogo == true ) { |
717 | 717 | self::$hideFooter = true; |
718 | 718 | } |
719 | 719 | |