r85039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85038‎ | r85039 | r85040 >
Date:19:39, 30 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fixup undefined $stores in if like renamewiki does it
Modified paths:
  • /trunk/phase3/maintenance/addwiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/addwiki.php
@@ -93,7 +93,7 @@
9494 # Initialise external storage
9595 if ( is_array( $wgDefaultExternalStore ) ) {
9696 $stores = $wgDefaultExternalStore;
97 - } elseif ( $stores ) {
 97+ } elseif ( $wgDefaultExternalStore ) {
9898 $stores = array( $wgDefaultExternalStore );
9999 } else {
100100 $stores = array();

Status & tagging log