buddypress/tests/testcases/notifications
r-a-y bdb1a79a02 Notifications: Invalidate cache when a notification is updated.
Object caching was added to the notifications component in r7813.
However, the cached item was not invalidated whenever a notification
is updated (either by using one of the marked as read functions or via
using the BP_Notifications_Notification::update() method).

This commit invalidates the cache directly in the update() class
method and adds a unit test.

See #5377

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8176 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2014-03-27 19:04:30 +00:00
..
class-bp-notifications-notification.php Allow all notifications to be fetched by passing 'both' to is_new param of BP_Notifications_Notification::get() 2014-03-26 22:55:04 +00:00
functions.php Notifications: Invalidate cache when a notification is updated. 2014-03-27 19:04:30 +00:00