r26188 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26187‎ | r26188 | r26189 >
Date:19:46, 27 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Tone down the crack ;)
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1519,15 +1519,9 @@
15201520 $wgOut->errorPage( 'rcpatroldisabled', 'rcpatroldisabledtext' );
15211521 return;
15221522 }
1523 -
1524 - # Check permissions
1525 - if( !$wgUser->isAllowed( 'patrol' ) ) {
1526 - $wgOut->permissionRequired( 'patrol' );
1527 - return;
1528 - }
15291523
15301524 # Check permissions
1531 - $permission_errors = $this->mTitle->getUserPermissionsErrors( 'delete', $wgUser );
 1525+ $permission_errors = $this->mTitle->getUserPermissionsErrors( 'patrol', $wgUser );
15321526
15331527 if (count($permission_errors)>0)
15341528 {

Follow-up revisions

RevisionCommit summaryAuthorDate
r26257Merged revisions 26134-26247 via svnmerge from...david19:06, 30 September 2007

Status & tagging log