r45955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45954‎ | r45955 | r45956 >
Date:09:22, 21 January 2009
Author:catrope
Status:ok
Tags:
Comment:
Followup to r45954: it helps to save before committing
Modified paths:
  • /trunk/phase3/includes/api/ApiDelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiDelete.php
@@ -79,7 +79,7 @@
8080 $this->dieUsageMsg(current($retval));
8181 } else {
8282 $articleObj = new Article($titleObj);
83 - if( $articleObj->isBigDeletion() && !$wgUser->isAllowed( 'bigdelete' ) ) {
 83+ if($articleObj->isBigDeletion() && !$wgUser->isAllowed('bigdelete')) {
8484 global $wgDeleteRevisionsLimit;
8585 $this->dieUsageMsg(array('delete-toobig', $wgDeleteRevisionsLimit));
8686 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45954Fix indentation for r45944 and use consistent code stylecatrope09:21, 21 January 2009

Status & tagging log