From f509270254cba380a092168d236cd529f3e8e10e Mon Sep 17 00:00:00 2001 From: Jimmy Collins Date: Fri, 29 Sep 2006 20:13:38 +0000 Subject: [PATCH] * (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now notification mails are working after 'Mark all pages visited' button on Special:Watchlist is clicked --- RELEASE-NOTES | 2 ++ includes/User.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 553a683a7e..b56ce931ae 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -235,6 +235,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}} * (bug 7425) Preceeding whitespace in [[...]] breaks subpages * Try to reconnect after transitory database errors in dumpTextPass.php +* (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now notification + mails are working after 'Mark all pages visited' button on Special:Watchlist is clicked == Languages updated == diff --git a/includes/User.php b/includes/User.php index efe6f2b65d..4913de89d2 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1497,7 +1497,7 @@ class User { $dbw =& wfGetDB( DB_MASTER ); $success = $dbw->update( 'watchlist', array( /* SET */ - 'wl_notificationtimestamp' => 0 + 'wl_notificationtimestamp' => NULL ), array( /* WHERE */ 'wl_user' => $currentUser ), 'UserMailer::clearAll' -- 2.20.1