From: Russ Nelson Date: Sat, 25 Jun 2011 01:19:07 +0000 (+0000) Subject: Had trouble distinguishing between these two error messages; the name was a null... X-Git-Tag: 1.31.0-rc.0~29298 X-Git-Url: http://git.cyclocoop.org/data/modifier.php?a=commitdiff_plain;h=3887835358d5edbf46da2b0c40fbfe36a8dd8461;p=lhc%2Fweb%2Fwiklou.git Had trouble distinguishing between these two error messages; the name was a null string hence the quotes. --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 0e3bc65969..a278d788ae 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -2036,14 +2036,14 @@ class LocalFileMoveBatch { $bits = explode( '!', $oldName, 2 ); if ( count( $bits ) != 2 ) { - wfDebug( "Invalid old file name: $oldName \n" ); + wfDebug( "Old file name missing !: '$oldName' \n" ); continue; } list( $timestamp, $filename ) = $bits; if ( $this->oldName != $filename ) { - wfDebug( "Invalid old file name: $oldName \n" ); + wfDebug( "Old file name doesn't match: '$oldName' \n" ); continue; }