From ba3424b437be262bb7c69c8b8ad7d1a16d1d64a3 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 25 Mar 2016 10:37:57 -0700 Subject: [PATCH] Whitespace cleanups Change-Id: I43646a60b8a5b6d5b7813b013fd0f1719d00484c --- includes/changes/RecentChange.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index b6a086805e..9f68338fe9 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -461,6 +461,7 @@ class RecentChange { */ public function doMarkPatrolled( User $user, $auto = false, $tags = null ) { global $wgUseRCPatrol, $wgUseNPPatrol, $wgUseFilePatrol; + $errors = []; // If recentchanges patrol is disabled, only new pages or new file versions // can be patrolled, provided the appropriate config variable is set @@ -497,8 +498,8 @@ class RecentChange { PatrolLog::record( $this, $auto, $user, $tags ); Hooks::run( - 'MarkPatrolledComplete', - [ $this->getAttribute( 'rc_id' ), &$user, false, $auto ] + 'MarkPatrolledComplete', + [ $this->getAttribute( 'rc_id' ), &$user, false, $auto ] ); return []; -- 2.20.1