* Don't issue a write query to the database if the wl_notificationtimestamp is alread...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 10 Feb 2012 19:35:14 +0000 (19:35 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 10 Feb 2012 19:35:14 +0000 (19:35 +0000)
commite6441b8f6c1b40508cfd4b29b01bcfca0961deab
tree2d896edf08363c192f6a1f968971fa81cf62a260
parentfd27d3a0406d2d631b6a324eef2e9ee654b4e66d
* Don't issue a write query to the database if the wl_notificationtimestamp is already null, so we don't to do at COMMIT et al. on every view request on an user watching the page
* Made WatchedItem select wl_notificationtimestamp instead of "1"
* Added loading mechanism, accessor to wl_notificationtimestamp and method to reset that timestamp
includes/User.php
includes/WatchedItem.php