Aaron Schulz has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/93/352993/1

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: newchange
Gerrit-Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to