HomePhabricator

WatchedItemStore::countVisitingWatchersMultiple() shouldn't query all titles…
3e668593418aUnpublished

Authored by Anomie on Sep 18 2018, 4:01 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

WatchedItemStore::countVisitingWatchersMultiple() shouldn't query all titles when asked for none

If a caller gives an empty array for $targetsWithVisitThresholds, per
the documentation it should be expecting an empty array in return, not a
count of watchers for every title in the database.

Bug: T204729
Change-Id: I0f25fae301450d077bb30597281aaef0fba209d4
(cherry picked from commit f5469d36602cb2a95396830b14e9a631d698f3a6)

Details

Committed
ReedySep 20 2018, 10:06 PM
Parents
rMW5eda97989070: Bump 1.27.5
Branches
Unknown
Tags
Unknown
References
refs/changes/00/461800/2
ChangeId
I0f25fae301450d077bb30597281aaef0fba209d4