From a0e367dde9b2f64bdac4a4521264d3ab31ac9931 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 10 Jan 2008 07:52:09 +0000 Subject: [PATCH] Revert r29525: this vulnerability never existed; Article::doRollback() does the check already. Besides, the permission is called markboteditS --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 2c83e5c9a2..473e01d4cc 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2404,7 +2404,7 @@ class Article { $wgRequest->getVal( 'from' ), $wgRequest->getText( 'summary' ), $wgRequest->getVal( 'token' ), - $wgRequest->getBool( 'bot' ) and $wgUser->isAllowed( 'markbotedit' ), + $wgRequest->getBool( 'bot' ), $details ); -- 2.20.1