From af2890426d8994e2ab2350b2e48408a6462422ad Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 28 May 2008 19:23:03 +0000 Subject: [PATCH] Per r35510: here too --- includes/SpecialRevisiondelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialRevisiondelete.php b/includes/SpecialRevisiondelete.php index 92a36123ad..a3d4b7ee82 100644 --- a/includes/SpecialRevisiondelete.php +++ b/includes/SpecialRevisiondelete.php @@ -50,7 +50,7 @@ function wfSpecialRevisiondelete( $par = null ) { # does not exist...might be helpful $wgOut->addHTML( "

" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "

\n" ); LogEventsList::showLogExtract( $wgOut, 'delete', $page->getPrefixedText() ); - if( $wgUser->isAllowed( 'suppress' ) ){ + if( $wgUser->isAllowed( 'suppressionlog' ) ){ $wgOut->addHTML( "

" . htmlspecialchars( LogPage::logName( 'suppress' ) ) . "

\n" ); LogEventsList::showLogExtract( $wgOut, 'suppress', $page->getPrefixedText() ); } -- 2.20.1