X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fwatcheditem%2FNoWriteWatchedItemStore.php;h=69dcec854e0dcc380572d4403ece3516da11b62e;hb=4e9eb2f8d75784c78715e7dc3a9c8084d5c54943;hp=d5d175cac5cfe58e0d7c7c31c16fcc2629c0fffe;hpb=8d9d8c8bb319482919d3d62732b9a0f689ede052;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/watcheditem/NoWriteWatchedItemStore.php b/includes/watcheditem/NoWriteWatchedItemStore.php index d5d175cac5..69dcec854e 100644 --- a/includes/watcheditem/NoWriteWatchedItemStore.php +++ b/includes/watcheditem/NoWriteWatchedItemStore.php @@ -57,7 +57,10 @@ class NoWriteWatchedItemStore implements WatchedItemStoreInterface { } public function countWatchersMultiple( array $targets, array $options = [] ) { - return $this->actualStore->countVisitingWatchersMultiple( $targets, $options ); + return $this->actualStore->countVisitingWatchersMultiple( + $targets, + $options['minimumWatchers'] ?? null + ); } public function countVisitingWatchersMultiple( @@ -134,7 +137,7 @@ class NoWriteWatchedItemStore implements WatchedItemStoreInterface { public function resetNotificationTimestamp( UserIdentity $user, - Title $title, + LinkTarget $title, $force = '', $oldid = 0 ) {