From: Siebrand Mazeland Date: Tue, 19 Nov 2013 08:37:41 +0000 (+0100) Subject: Add $counter which was defined dynamically X-Git-Tag: 1.31.0-rc.0~18024^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=8b2fa8435675ca963443e3fc285650121f643745;p=lhc%2Fweb%2Fwiklou.git Add $counter which was defined dynamically Used in SpecialRecentChanges, ChangesList and SpecialWatchlist to keep track of line numbers for RC list entries. Change-Id: Ib0e76a325c36a5c019db8d55c150e3bf3bf1d19b --- diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index 8fba6a7546..0ef71c42f5 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -87,6 +87,11 @@ class RecentChange { public $numberofWatchingusers = 0; # Dummy to prevent error message in SpecialRecentchangeslinked public $notificationtimestamp; + /** + * @var int Line number of recent change. Default -1. + */ + public $counter = -1; + # Factory methods /**