fix total breakage of image revert
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 20 Jun 2007 07:40:42 +0000 (07:40 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 20 Jun 2007 07:40:42 +0000 (07:40 +0000)
includes/ImagePage.php

index ee408a5..e31ca15 100644 (file)
@@ -672,9 +672,6 @@ EOT
                        return;
                }
 
-               # Record upload and update metadata cache
-               $this->img->recordUpload( $result, wfMsg( "reverted" ) );
-
                $wgOut->setPagetitle( wfMsg( 'actioncomplete' ) );
                $wgOut->setRobotpolicy( 'noindex,nofollow' );
                $wgOut->addHTML( wfMsg( 'imagereverted' ) );