From fad02b983db8bf0e2e29acd9f0dd0e977083ce4d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 20 Jun 2007 07:40:42 +0000 Subject: [PATCH] fix total breakage of image revert --- includes/ImagePage.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index ee408a5004..e31ca15658 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -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' ) ); -- 2.20.1