From: jenkins-bot Date: Tue, 15 Mar 2016 14:52:56 +0000 (+0000) Subject: Merge "Make unused variable optional in ChangesList::insertDiffHist" X-Git-Tag: 1.31.0-rc.0~7618 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=c340c41b37b5079ba90489f6b212bb8e4642031a;p=lhc%2Fweb%2Fwiklou.git Merge "Make unused variable optional in ChangesList::insertDiffHist" --- c340c41b37b5079ba90489f6b212bb8e4642031a diff --cc includes/changes/OldChangesList.php index 576718af2b,2845c5c52d..8eb06ced03 --- a/includes/changes/OldChangesList.php +++ b/includes/changes/OldChangesList.php @@@ -87,10 -92,10 +87,10 @@@ class OldChangesList extends ChangesLis } // Regular entries } else { - $this->insertDiffHist( $html, $rc, $unpatrolled ); + $this->insertDiffHist( $html, $rc ); # M, N, b and ! (minor, new, bot and unpatrolled) $html .= $this->recentChangesFlags( - array( + [ 'newpage' => $rc->mAttribs['rc_type'] == RC_NEW, 'minor' => $rc->mAttribs['rc_minor'], 'unpatrolled' => $unpatrolled,