Index: trunk/phase3/includes/Title.php |
— | — | @@ -3054,7 +3054,7 @@ |
3055 | 3055 | } |
3056 | 3056 | |
3057 | 3057 | $destFile = wfLocalFile( $nt ); |
3058 | | - if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destfile->exists() && wfFindFile( $nt ) ) { |
| 3058 | + if ( !$wgUser->isAllowed( 'reupload-shared' ) && !$destFile->exists() && wfFindFile( $nt ) ) { |
3059 | 3059 | $errors[] = array( 'file-exists-sharedrepo' ); |
3060 | 3060 | } |
3061 | 3061 | |