Don't show extra copyright data on re-upload
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 25 Jan 2009 20:30:34 +0000 (20:30 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 25 Jan 2009 20:30:34 +0000 (20:30 +0000)
includes/specials/SpecialUpload.php

index 45ea197..cd887ce 100644 (file)
@@ -1202,7 +1202,7 @@ wgUploadAutoFill = {$autofill};
                        }
                }
 
-               if ( $wgUseCopyrightUpload ) {
+               if ( !$this->mReUpload && $wgUseCopyrightUpload ) {
                        $filestatus = wfMsgExt( 'filestatus', 'escapenoentities' );
                        $copystatus =  htmlspecialchars( $this->mCopyrightStatus );
                        $filesource = wfMsgExt( 'filesource', 'escapenoentities' );