jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/352993 )

Change subject: Make loadWatchedItem() coerce the DB timestamp to TS_MW
......................................................................


Make loadWatchedItem() coerce the DB timestamp to TS_MW

Bug: T75174
Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050
---
M includes/WatchedItemStore.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php
index 17728fa..228f93b 100644
--- a/includes/WatchedItemStore.php
+++ b/includes/WatchedItemStore.php
@@ -467,7 +467,7 @@
                $item = new WatchedItem(
                        $user,
                        $target,
-                       $row->wl_notificationtimestamp
+                       wfTimestampOrNull( TS_MW, 
$row->wl_notificationtimestamp )
                );
                $this->cache( $item );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/352993
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to