dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d26a96
)
Make loadWatchedItem() coerce the DB timestamp to TS_MW
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 May 2017 01:41:22 +0000
(18:41 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 May 2017 01:41:22 +0000
(18:41 -0700)
Bug: T75174
Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050
includes/WatchedItemStore.php
patch
|
blob
|
history
diff --git
a/includes/WatchedItemStore.php
b/includes/WatchedItemStore.php
index
17728fa
..
228f93b
100644
(file)
--- 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 );