From 8f22e5eda0b48e9a13cf3a2c0107551becfd8085 Mon Sep 17 00:00:00 2001 From: aude Date: Tue, 26 Nov 2013 11:35:24 +0100 Subject: [PATCH] Get date in EnhancedChangesList::recentChangesLine from baseRC $cachedEntry gets set with baseRC, so baseRC timestamp is the same as $cachedEntry timestamp. Doing things this way makes it more feasible to split out some of the change formatting code. Change-Id: I1cae6174c827802d525bb95ed152c64008ce7360 --- includes/changes/EnhancedChangesList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/changes/EnhancedChangesList.php b/includes/changes/EnhancedChangesList.php index c8439beedb..7208da3480 100644 --- a/includes/changes/EnhancedChangesList.php +++ b/includes/changes/EnhancedChangesList.php @@ -64,7 +64,7 @@ class EnhancedChangesList extends ChangesList { # If it's a new day, add the headline and flush the cache $date = $this->getLanguage()->userDate( - $cacheEntry->mAttribs['rc_timestamp'], + $baseRC->mAttribs['rc_timestamp'], $this->getUser() ); -- 2.20.1