Merge "Collapse superfluous isset() call"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 2 Apr 2016 08:13:10 +0000 (08:13 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 2 Apr 2016 08:13:10 +0000 (08:13 +0000)
1  2 
includes/Setup.php

diff --combined includes/Setup.php
@@@ -119,8 -119,7 +119,7 @@@ if ( $wgRightsIcon ) 
        );
  }
  
- if ( isset( $wgFooterIcons['copyright'] )
-       && isset( $wgFooterIcons['copyright']['copyright'] )
+ if ( isset( $wgFooterIcons['copyright']['copyright'] )
        && $wgFooterIcons['copyright']['copyright'] === []
  ) {
        if ( $wgRightsIcon || $wgRightsText ) {
                        'src' => $wgRightsIcon,
                        'alt' => $wgRightsText,
                ];
 -      } else {
 -              unset( $wgFooterIcons['copyright']['copyright'] );
        }
  }