Fix ApiQueryInfo break from use of WatchedItemStore
authoraddshore <addshorewiki@gmail.com>
Tue, 15 Mar 2016 16:08:45 +0000 (16:08 +0000)
committeraddshore <addshorewiki@gmail.com>
Tue, 15 Mar 2016 16:08:45 +0000 (16:08 +0000)
commit2bfdb5da848be0a2286fadab6d372e17837e40ee
treea24d5760ae71b06b9eb8ef6e2ccec35b651d3897
parent47d7f45f87e583b8df3d0a602c44f70842e6c261
Fix ApiQueryInfo break from use of WatchedItemStore

Fixes an issue introduced in:
I5a465773599cce9f8c9e94847cede6d12282c827

The new code now returns all targets even when 0
watcher have been found.
This patch adjusts the api to expect that.

Bug: T129482
Change-Id: Ie84e6feaa42db1bc7a1f89b56aed37dd7fe95ea4
includes/api/ApiQueryInfo.php