Index: trunk/phase3/includes/Article.php |
— | — | @@ -1346,7 +1346,7 @@ |
1347 | 1347 | $revisionId ); |
1348 | 1348 | |
1349 | 1349 | # Mark as patrolled if the user can do so |
1350 | | - if( $wgUser->isAllowed( 'autopatrol' ) ) { |
| 1350 | + if( $GLOBALS['wgUseRCPatrol'] && $wgUser->isAllowed( 'autopatrol' ) ) { |
1351 | 1351 | RecentChange::markPatrolled( $rcid ); |
1352 | 1352 | PatrolLog::record( $rcid, true ); |
1353 | 1353 | } |
— | — | @@ -1408,7 +1408,7 @@ |
1409 | 1409 | $rcid = RecentChange::notifyNew( $now, $this->mTitle, $isminor, $wgUser, $summary, $bot, |
1410 | 1410 | '', strlen( $text ), $revisionId ); |
1411 | 1411 | # Mark as patrolled if the user can |
1412 | | - if( $wgUser->isAllowed( 'autopatrol' ) ) { |
| 1412 | + if( $GLOBALS['wgUseRCPatrol'] && $wgUser->isAllowed( 'autopatrol' ) ) { |
1413 | 1413 | RecentChange::markPatrolled( $rcid ); |
1414 | 1414 | PatrolLog::record( $rcid, true ); |
1415 | 1415 | } |