Updated the closure in WatchedItemStore::resetNotificationTimestamp() to return an array obtained from MapCacheLRU->toArray(), instead of an object. Updated the two places that fetch from the cache to read cache entries in either format, for backwards compatibility. Added testResetNotificationTimestamp_stashItemTypeCheck test to WatchedItemStoreUnitTest which verifies correct behaviour with cache values supplied by the test case. Bug: T282105 Change-Id: Ibfe4c205ffdf7af7087f6f862004b95b29bdc394 |
||
|---|---|---|
| .. | ||
| Hook | ||
| NoWriteWatchedItemStore.php | ||
| WatchedItem.php | ||
| WatchedItemQueryService.php | ||
| WatchedItemQueryServiceExtension.php | ||
| WatchedItemStore.php | ||
| WatchedItemStoreInterface.php | ||