dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Enforce partial blocks"
[lhc/web/wiklou.git]
/
includes
/
watcheditem
/
WatchedItemStoreInterface.php
diff --git
a/includes/watcheditem/WatchedItemStoreInterface.php
b/includes/watcheditem/WatchedItemStoreInterface.php
index
30d1cbb
..
274d3f4
100644
(file)
--- a/
includes/watcheditem/WatchedItemStoreInterface.php
+++ b/
includes/watcheditem/WatchedItemStoreInterface.php
@@
-193,7
+193,7
@@
interface WatchedItemStoreInterface {
public function addWatchBatchForUser( User $user, array $targets );
/**
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
* Must be called separately for Subject & Talk namespaces
*
* @since 1.31
@@
-264,7
+264,7
@@
interface WatchedItemStoreInterface {
* @since 1.31
*
* @param User $user
* @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
*
* @return int|bool The number of unread notifications
* true if greater than or equal to $unreadLimit
@@
-316,4
+316,14
@@
interface WatchedItemStoreInterface {
*/
public function clearUserWatchedItemsUsingJobQueue( User $user );
*/
public function clearUserWatchedItemsUsingJobQueue( User $user );
+ /**
+ * @since 1.32
+ *
+ * @param User $user
+ * @param LinkTarget[] $targets
+ *
+ * @return bool success
+ */
+ public function removeWatchBatchForUser( User $user, array $targets );
+
}
}