From: Brion Vibber Date: Tue, 5 Dec 2006 01:35:41 +0000 (+0000) Subject: Revert r17964 again; accidentally restored that breakage while restoring Special... X-Git-Tag: 1.31.0-rc.0~54987 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=fe194d9d4ac0e08d86b100103249e16651a2d4dd;p=lhc%2Fweb%2Fwiklou.git Revert r17964 again; accidentally restored that breakage while restoring Special:Contributions --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 34de8e0aa2..f9fe14ef29 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -400,13 +400,10 @@ function ucListEdit( $sk, $row ) { } } - - if( $rev->isDeleted( Revision::DELETED_TEXT ) ) { - if ( $rev->userCan( Revision::DELETED_TEXT ) ) { - $difftext .= '(' . $sk->makeKnownLinkObj( $page, $messages['diff'], 'diff=prev&oldid='.$row->rev_id ) . ')'; - } else { - $difftext .= '(' . $messages['diff'] . ')'; - } + if( $rev->userCan( Revision::DELETED_TEXT ) ) { + $difftext = '(' . $sk->makeKnownLinkObj( $page, $messages['diff'], 'diff=prev&oldid='.$row->rev_id ) . ')'; + } else { + $difftext = '(' . $messages['diff'] . ')'; } $histlink='('.$sk->makeKnownLinkObj( $page, $messages['hist'], 'action=history' ) . ')';