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