X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flogging%2FPatrolLog.php;h=9b2e0982987b5db4379605e7962d5cd8f3e140c9;hb=43c2aa6fb51f7a536c5be89bc4345f69498d8d8d;hp=d1de2cd3aedefb86230d561eef6229b186390329;hpb=459f8651ab292069f5aa0f3fa7345178a643d13a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/PatrolLog.php b/includes/logging/PatrolLog.php index d1de2cd3ae..9b2e098298 100644 --- a/includes/logging/PatrolLog.php +++ b/includes/logging/PatrolLog.php @@ -27,6 +27,7 @@ * logs of patrol events */ class PatrolLog { + /** * Record a log event for a change being patrolled * @@ -39,10 +40,8 @@ class PatrolLog { * @return bool */ public static function record( $rc, $auto = false, User $user = null, $tags = null ) { - global $wgLogAutopatrol; - - // do not log autopatrolled edits if setting disables it - if ( $auto && !$wgLogAutopatrol ) { + // Do not log autopatrol actions: T184485 + if ( $auto ) { return false; }