Make unused variable optional in ChangesList::insertDiffHist
authoraude <aude.wiki@gmail.com>
Thu, 11 Feb 2016 14:40:42 +0000 (15:40 +0100)
committeraude <aude.wiki@gmail.com>
Thu, 11 Feb 2016 14:46:40 +0000 (15:46 +0100)
commitd188ec34bb4e255ab2c45f9acfe3a79f3f056646
tree3ec21adfb6f1593260d29f64fe9eaec26e0b3491
parent0ab874b730e52c2c98b212379bbb31e8ff3b2eb1
Make unused variable optional in ChangesList::insertDiffHist

$unpatrolled is unused in the method, so make it optional,
and then uses of it can be removed.

I realize it would do no harm to remove it completely, even
if a few (2 that I know of) extensions still pass the variable
to the method, but think this is nicer way.

Change-Id: Idbe6f00e9eb40db6a28de76fca0aea7c17b75656
includes/changes/ChangesList.php
includes/changes/OldChangesList.php