r105327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105326‎ | r105327 | r105328 >
Date:18:43, 6 December 2011
Author:preilly
Status:resolved
Tags:
Comment:
remove use of empty
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -88,7 +88,7 @@
8989 }
9090
9191 class ExtMobileFrontend {
92 - const VERSION = '0.5.93';
 92+ const VERSION = '0.5.94';
9393
9494 /**
9595 * @var DOMDocument
@@ -592,7 +592,7 @@
593593 $q = array( 'action' => 'submitlogin', 'type' => 'login' );
594594 $returnToVal = $wgRequest->getVal( 'returnto' );
595595
596 - if ( !empty( $returnToVal ) ) {
 596+ if ( !$returnToVal ) {
597597 $q['returnto'] = $returnToVal;
598598 }
599599

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104518remove unnecessary dom parsingpreilly00:21, 29 November 2011

Status & tagging log