* (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now notification
authorJimmy Collins <collinj@users.mediawiki.org>
Fri, 29 Sep 2006 20:13:38 +0000 (20:13 +0000)
committerJimmy Collins <collinj@users.mediawiki.org>
Fri, 29 Sep 2006 20:13:38 +0000 (20:13 +0000)
  mails are working after 'Mark all pages visited' button on Special:Watchlist is clicked

RELEASE-NOTES
includes/User.php

index 553a683..b56ce93 100644 (file)
@@ -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 ==
index efe6f2b..4913de8 100644 (file)
@@ -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'