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
* @since 1.31
*
* @param User $user
- * @param int $unreadLimit
+ * @param int|null $unreadLimit
*
* @return int|bool The number of unread notifications
* true if greater than or equal to $unreadLimit
*/
public function clearUserWatchedItemsUsingJobQueue( User $user );
+ /**
+ * @since 1.32
+ *
+ * @param User $user
+ * @param LinkTarget[] $targets
+ *
+ * @return bool success
+ */
+ public function removeWatchBatchForUser( User $user, array $targets );
+
}