https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114337
Revision: 114337
Author: preilly
Date: 2012-03-21 00:25:06 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
1.19wmf: MFT r114336
Modified Paths:
--------------
branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php
Modified:
branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php
===================================================================
--- branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php
2012-03-21 00:24:38 UTC (rev 114336)
+++ branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php
2012-03-21 00:25:06 UTC (rev 114337)
@@ -506,6 +506,7 @@
$this->sendXDeviceVaryHeader();
$this->sendApplicationVersionVaryHeader();
$this->checkUserStatus();
+ $this->setDefaultLogo();
$this->checkUserLoggedIn();
if ( self::$title->isSpecial( 'Userlogin' ) &&
self::$isBetaGroupMember ) {
@@ -1211,11 +1212,9 @@
if ( self::$isBetaGroupMember ) {
$this->getSite( $site, $lang );
if ( is_array( $wgMFCustomLogos ) && isset(
$wgMFCustomLogos['site'] ) ) {
- foreach ( $wgMFCustomLogos as $wgMFCustomLogo )
{
- if ( isset( $wgMFCustomLogo['site'] )
&& $site == $wgMFCustomLogo['site'] ) {
- if ( isset(
$wgMFCustomLogo['logo'] ) ) {
- $wgMobileFrontendLogo =
$wgMFCustomLogo['logo'];
- }
+ if ( isset( $wgMFCustomLogos['site'] ) && $site
== $wgMFCustomLogos['site'] ) {
+ if ( isset( $wgMFCustomLogos['logo'] )
) {
+ $wgMobileFrontendLogo =
$wgMFCustomLogos['logo'];
}
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs