r93361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93360‎ | r93361 | r93362 >
Date:05:07, 28 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Use strong comparison in loadDBFromSite() for paranoia
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/MWMultiVersion.php (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/MWMultiVersion.php
@@ -179,7 +179,7 @@
180180 * @return void
181181 */
182182 private function loadDBFromSite( $site, $lang ) {
183 - if ( $site == "wikipedia" ) {
 183+ if ( $site === "wikipedia" ) {
184184 $dbSuffix = "wiki";
185185 } else {
186186 $dbSuffix = $site;

Status & tagging log