Per r35510: here too
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 28 May 2008 19:23:03 +0000 (19:23 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 28 May 2008 19:23:03 +0000 (19:23 +0000)
includes/SpecialRevisiondelete.php

index 92a3612..a3d4b7e 100644 (file)
@@ -50,7 +50,7 @@ function wfSpecialRevisiondelete( $par = null ) {
        # does not exist...might be helpful
        $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'delete' ) ) . "</h2>\n" );
        LogEventsList::showLogExtract( $wgOut, 'delete', $page->getPrefixedText() );
-       if( $wgUser->isAllowed( 'suppress' ) ){
+       if( $wgUser->isAllowed( 'suppressionlog' ) ){
                $wgOut->addHTML( "<h2>" . htmlspecialchars( LogPage::logName( 'suppress' ) ) . "</h2>\n" );
                LogEventsList::showLogExtract( $wgOut, 'suppress', $page->getPrefixedText() );
        }