r45881 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45880‎ | r45881 | r45882 >
Date:19:23, 18 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Fix typo in r45855
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -2094,7 +2094,7 @@
20952095 if( $action === 'patrol' || $action === 'autopatrol' ) {
20962096 global $wgUseRCPatrol, $wgUseNPPatrol;
20972097 if( !$wgUseRCPatrol && !$wgUseNPPatrol )
2098 - return true;
 2098+ return false;
20992099 }
21002100 # Use strict parameter to avoid matching numeric 0 accidentally inserted
21012101 # by misconfiguration: 0 == 'foo'

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45855isAllowed('patrol') now returns false if patrolling is disabledaaron23:32, 17 January 2009

Status & tagging log