From: Roan Kattouw Date: Thu, 10 Jan 2008 07:52:09 +0000 (+0000) Subject: Revert r29525: this vulnerability never existed; Article::doRollback() does the check... X-Git-Tag: 1.31.0-rc.0~50075 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a0e367dde9b2f64bdac4a4521264d3ab31ac9931;p=lhc%2Fweb%2Fwiklou.git Revert r29525: this vulnerability never existed; Article::doRollback() does the check already. Besides, the permission is called markboteditS --- 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 );