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
Move most User::clearAllNotifications() logic to WatchedItemStore
[lhc/web/wiklou.git]
/
includes
/
watcheditem
/
NoWriteWatchedItemStore.php
diff --git
a/includes/watcheditem/NoWriteWatchedItemStore.php
b/includes/watcheditem/NoWriteWatchedItemStore.php
index
1a0f504
..
86e7be8
100644
(file)
--- a/
includes/watcheditem/NoWriteWatchedItemStore.php
+++ b/
includes/watcheditem/NoWriteWatchedItemStore.php
@@
-122,6
+122,10
@@
class NoWriteWatchedItemStore implements WatchedItemStoreInterface {
throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' );
}
throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' );
}
+ public function resetAllNotificationTimestampsForUser( User $user ) {
+ throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' );
+ }
+
public function resetNotificationTimestamp(
User $user,
Title $title,
public function resetNotificationTimestamp(
User $user,
Title $title,