Uncache things in WatchedItemStore::updateNotificationTimestamp
authoraddshore <addshorewiki@gmail.com>
Thu, 10 Mar 2016 13:07:35 +0000 (13:07 +0000)
committeraddshore <addshorewiki@gmail.com>
Mon, 14 Mar 2016 15:13:19 +0000 (15:13 +0000)
commit8d984cebb252a074bafd8d01e21a1c831a0e5aea
treefaa3f0b3221cf690f833d48b48f13d8c79dd0026
parenta92a23e8a24456c56957144808eb8d62a07a227c
Uncache things in WatchedItemStore::updateNotificationTimestamp

When the notification timestamp for a LinkTarget is
updated all items relating to that LinkTarget should
be uncached!..

This also switches this class from a BagOStuff to
a HashBagOStuff as this cache index is only maintained
per process..

Change-Id: I5dc58e018a6a4a15903abc1e0b326b4220abc75e
includes/WatchedItemStore.php
tests/phpunit/includes/WatchedItemStoreIntegrationTest.php
tests/phpunit/includes/WatchedItemStoreUnitTest.php