r84489 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84488‎ | r84489 | r84490 >
Date:21:26, 21 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix variable typo introduced in r83282
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -3054,7 +3054,7 @@
30553055 }
30563056
30573057 $destFile = wfLocalFile( $nt );
3058 - if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destfile->exists() && wfFindFile( $nt ) ) {
 3058+ if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destFile->exists() && wfFindFile( $nt ) ) {
30593059 $errors[] = array( 'file-exists-sharedrepo' );
30603060 }
30613061

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r83282Move the file related parts of Title::isValidMoveOperation to its own functio...btongminh14:44, 5 March 2011

Status & tagging log