HomePhabricator

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

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

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

Details

Committed
AnomieSep 18 2018, 4:01 PM
Parents
rMW180c63a911b7: Merge "Allow edit.php to modify different slots."
Branches
Unknown
Tags
Unknown
References
refs/changes/53/461153/1
ChangeId
I0f25fae301450d077bb30597281aaef0fba209d4