From 676b0c89dd609e2c980afd522dfbdf18a9903e3c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 9 May 2017 18:41:22 -0700 Subject: [PATCH] Make loadWatchedItem() coerce the DB timestamp to TS_MW Bug: T75174 Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050 --- includes/WatchedItemStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php index 17728fa33e..228f93b9b4 100644 --- a/includes/WatchedItemStore.php +++ b/includes/WatchedItemStore.php @@ -467,7 +467,7 @@ class WatchedItemStore implements StatsdAwareInterface { $item = new WatchedItem( $user, $target, - $row->wl_notificationtimestamp + wfTimestampOrNull( TS_MW, $row->wl_notificationtimestamp ) ); $this->cache( $item ); -- 2.20.1