Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -79,10 +79,10 @@ |
80 | 80 | $this->dieUsageMsg(current($retval)); |
81 | 81 | } else { |
82 | 82 | $articleObj = new Article($titleObj); |
83 | | - if( $articleObj->isBigDeletion() && !$wgUser->isAllowed( 'bigdelete' ) ) { |
84 | | - global $wgDeleteRevisionsLimit; |
85 | | - $this->dieUsageMsg(array('delete-toobig', $wgDeleteRevisionsLimit)); |
86 | | - } |
| 83 | + if( $articleObj->isBigDeletion() && !$wgUser->isAllowed( 'bigdelete' ) ) { |
| 84 | + global $wgDeleteRevisionsLimit; |
| 85 | + $this->dieUsageMsg(array('delete-toobig', $wgDeleteRevisionsLimit)); |
| 86 | + } |
87 | 87 | $retval = self::delete($articleObj, $params['token'], $reason); |
88 | 88 | |
89 | 89 | if(count($retval)) |