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:
7c45adb
)
Call DB::timestampOrNull in WatchedItem::resetNotificationTimestamp
author
umherirrender
<umherirrender_de.wp@web.de>
Sun, 22 Nov 2015 10:06:58 +0000
(11:06 +0100)
committer
umherirrender
<umherirrender_de.wp@web.de>
Sun, 22 Nov 2015 10:06:58 +0000
(11:06 +0100)
This increase cross DBMS support
Bug: T86490
Change-Id: Ia1108c321dbc93295b18039420e49960ad6215d6
includes/WatchedItem.php
patch
|
blob
|
history
diff --git
a/includes/WatchedItem.php
b/includes/WatchedItem.php
index
adee126
..
0ef2373
100644
(file)
--- a/
includes/WatchedItem.php
+++ b/
includes/WatchedItem.php
@@
-290,7
+290,7
@@
class WatchedItem {
} else {
$dbw = wfGetDB( DB_MASTER );
$dbw->update( 'watchlist',
- array( 'wl_notificationtimestamp' => $
notificationTimestamp
),
+ array( 'wl_notificationtimestamp' => $
dbw->timestampOrNull( $notificationTimestamp )
),
$this->dbCond(),
__METHOD__
);