Defer user_newtalk updates in clearNotification() to post-send
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 16 Jul 2015 23:06:13 +0000 (16:06 -0700)
committerOri.livneh <ori@wikimedia.org>
Fri, 17 Jul 2015 21:56:36 +0000 (21:56 +0000)
commit64bf3a12b514bb0f88d90e268f388495e2554278
tree71f958b22727415bb1bf2ab40eb4e390e01d73db
parente8f0cf8f894b906215bfbed85ca704de340308c7
Defer user_newtalk updates in clearNotification() to post-send

* Also only issue DELETE if notifications exist. Previously,
  this would issue a DELETE for all self talk page views.

Bug: T92007
Change-Id: Ifef11c9e5175d68d9615e59e2ed7de2f2c57bde1
includes/User.php