From: Tim Starling Date: Wed, 20 Jun 2007 07:40:42 +0000 (+0000) Subject: fix total breakage of image revert X-Git-Tag: 1.31.0-rc.0~52488 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=fad02b983db8bf0e2e29acd9f0dd0e977083ce4d;p=lhc%2Fweb%2Fwiklou.git fix total breakage of image revert --- 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' ) );