X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fwatcheditem%2FWatchedItemStoreInterface.php;h=274d3f4812945e3d5befdf64b9a973c42856578b;hb=aff39bd7c92d610d58df124d8acc96c024e10b42;hp=99a051de9f8e0c320810fe75487b700d58e24b71;hpb=ef970021795d220af007fd603e4813c1122bc8ef;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/watcheditem/WatchedItemStoreInterface.php b/includes/watcheditem/WatchedItemStoreInterface.php index 99a051de9f..274d3f4812 100644 --- a/includes/watcheditem/WatchedItemStoreInterface.php +++ b/includes/watcheditem/WatchedItemStoreInterface.php @@ -193,7 +193,7 @@ interface WatchedItemStoreInterface { public function addWatchBatchForUser( User $user, array $targets ); /** - * Removes the an entry for the User watching the LinkTarget + * Removes an entry for the User watching the LinkTarget * Must be called separately for Subject & Talk namespaces * * @since 1.31 @@ -316,4 +316,14 @@ interface WatchedItemStoreInterface { */ public function clearUserWatchedItemsUsingJobQueue( User $user ); + /** + * @since 1.32 + * + * @param User $user + * @param LinkTarget[] $targets + * + * @return bool success + */ + public function removeWatchBatchForUser( User $user, array $targets ); + }