}
$success = $this->mUpload->unsaveUploadedFile();
if ( !$success ) {
- $this->getOutput()->showFileDeleteError( $this->mUpload->getTempPath() );
+ $this->getOutput()->showFatalError(
+ $this->msg( 'filedeleteerror' )
+ ->params( $this->mUpload->getTempPath() )
+ ->escaped()
+ );
return false;
} else {