Index: trunk/extensions/FlaggedRevs/api/ApiQueryOldreviewedpages.php |
— | — | @@ -41,15 +41,6 @@ |
42 | 42 | } |
43 | 43 | |
44 | 44 | private function run( $resultPageSet = null ) { |
45 | | - // Permission check |
46 | | - global $wgUser; |
47 | | - if ( !$wgUser->isAllowed( 'unreviewedpages' ) ) |
48 | | - $this->dieUsage( |
49 | | - "You need the unreviewedpages right to request the list of" |
50 | | - ." old reviewed pages.", |
51 | | - 'permissiondenied' |
52 | | - ); |
53 | | - |
54 | 45 | $params = $this->extractRequestParams(); |
55 | 46 | |
56 | 47 | // Construct SQL Query |