Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -315,8 +315,7 @@ |
316 | 316 | |
317 | 317 | case self::OVERWRITE_EXISTING_FILE: |
318 | 318 | $errorText = $details['overwrite']; |
319 | | - $overwrite = new WikiError( $wgOut->parse( $errorText ) ); |
320 | | - $this->uploadError( $overwrite->toString() ); |
| 319 | + $this->uploadError( $wgOut->parse( $errorText ) ); |
321 | 320 | break; |
322 | 321 | |
323 | 322 | case self::FILETYPE_MISSING: |