From dc2fdf9772c1f18622b75e1f143db48d05fc65cf Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 22 Aug 2009 20:00:41 +0000 Subject: [PATCH] use tabs for identation, not spaces --- includes/specials/SpecialUpload.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index 2bcf74489d..4070656f67 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -339,13 +339,13 @@ class UploadForm extends SpecialPage { list( $existsType, $file ) = $exists; if( strpos( $file->getName(), '.' ) == false ) { - $partname = $file->getName(); - $rawExtension = ''; - } else { - $n = strrpos( $file->getName(), '.' ); - $rawExtension = substr( $file->getName(), $n + 1 ); - $partname = substr( $file->getName(), 0, $n ); - } + $partname = $file->getName(); + $rawExtension = ''; + } else { + $n = strrpos( $file->getName(), '.' ); + $rawExtension = substr( $file->getName(), $n + 1 ); + $partname = substr( $file->getName(), 0, $n ); + } $sk = $wgUser->getSkin(); -- 2.20.1