From: Aaron Schulz Date: Fri, 25 Mar 2016 17:37:57 +0000 (-0700) Subject: Whitespace cleanups X-Git-Tag: 1.31.0-rc.0~7472^2 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=ba3424b437be262bb7c69c8b8ad7d1a16d1d64a3;p=lhc%2Fweb%2Fwiklou.git Whitespace cleanups Change-Id: I43646a60b8a5b6d5b7813b013fd0f1719d00484c --- 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 [];