Watchlist: Commit after each batch watchlist insertion and removal
[lhc/web/wiklou.git] / includes / watcheditem / WatchedItemStoreInterface.php
index 99a051d..ac5e215 100644 (file)
@@ -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 );
+
 }