Add countUnreadNotifications to WatchedItemStore
authoraddshore <addshorewiki@gmail.com>
Thu, 10 Mar 2016 12:04:31 +0000 (12:04 +0000)
committeraddshore <addshorewiki@gmail.com>
Mon, 14 Mar 2016 16:00:47 +0000 (16:00 +0000)
commit846d373c28f3d032aaa5cafdab3e63539b8deae7
treed35e1c436e4070267a6d66ad4a96025f0fd2aab3
parent0b852c5717fc535528825704f41ac6d50a7be022
Add countUnreadNotifications to WatchedItemStore

This query / logic has been extracted from
ApiQueryUserInfo.

Unit & Integration tests have also been added.

Relating to the task linked this is the last change
needed in this ApiQueryUserInfo!

Bug: T129482
Change-Id: I91aa109416c16cd1f257c9de46669e35d6fd34d7
includes/WatchedItemStore.php
includes/api/ApiQueryUserInfo.php
tests/phpunit/includes/WatchedItemStoreIntegrationTest.php
tests/phpunit/includes/WatchedItemStoreUnitTest.php