watchlist: make getLatestNotificationTimestamp() method use the correct user
[lhc/web/wiklou.git] / includes / specials / SpecialWatchlist.php
index 56f5c8f..2443470 100644 (file)
@@ -880,7 +880,7 @@ class SpecialWatchlist extends ChangesListSpecialPage {
        private function getLatestNotificationTimestamp( RecentChange $rc ) {
                return $this->watchStore->getLatestNotificationTimestamp(
                        $rc->getAttribute( 'wl_notificationtimestamp' ),
-                       $rc->getPerformer(),
+                       $this->getUser(),
                        $rc->getTitle()
                );
        }