fixed permission for displaying undelete link
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 3 Aug 2005 09:13:42 +0000 (09:13 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 3 Aug 2005 09:13:42 +0000 (09:13 +0000)
includes/Skin.php

index 84dc210..7cc89f5 100644 (file)
@@ -549,7 +549,7 @@ END;
 
        function getUndeleteLink() {
                global $wgUser, $wgTitle, $wgContLang, $action;
-               if( $wgUser->isAllowed('rollback') &&
+               if( $wgUser->isAllowed('delete') &&
                        (($wgTitle->getArticleId() == 0) || ($action == "history")) &&
                        ($n = $wgTitle->isDeleted() ) ) {
                        return wfMsg( 'thisisdeleted',