r108089 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108088‎ | r108089 | r108090 >
Date:21:34, 4 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Tidy up nested assignments
Modified paths:
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -40,7 +40,8 @@
4141 }
4242
4343 $request = $this->getRequest();
44 - $parms = explode( '/', ($par = ( $par !== null ) ? $par : '' ) );
 44+ $par = ( $par !== null ) ? $par : '';
 45+ $parms = explode( '/', $par );
4546 $symsForAll = array( '*', 'user' );
4647 if ( $parms[0] != '' && ( in_array( $par, User::getAllGroups() ) || in_array( $par, $symsForAll ) ) ) {
4748 $this->requestedGroup = $par;

Sign-offs

UserFlagDate
Nikerabbitinspected06:56, 5 January 2012

Status & tagging log