Revert r29525: this vulnerability never existed; Article::doRollback() does the check...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 10 Jan 2008 07:52:09 +0000 (07:52 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 10 Jan 2008 07:52:09 +0000 (07:52 +0000)
includes/Article.php

index 2c83e5c..473e01d 100644 (file)
@@ -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
                );