X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fwatcheditem%2FNoWriteWatchedItemStore.php;h=86e7be855ef085e4f04b119cc50c442429f3018f;hb=b0494b29097eaff97073f01e3427f2629eedadc1;hp=1439421037d68166439642732dcf679ce154767b;hpb=11ee7f78da9776db26098642a151a288f98bea14;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/watcheditem/NoWriteWatchedItemStore.php b/includes/watcheditem/NoWriteWatchedItemStore.php index 1439421037..86e7be855e 100644 --- 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.' ); } + public function resetAllNotificationTimestampsForUser( User $user ) { + throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' ); + } + public function resetNotificationTimestamp( User $user, Title $title, @@ -131,4 +135,11 @@ class NoWriteWatchedItemStore implements WatchedItemStoreInterface { throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' ); } + public function clearUserWatchedItems( User $user ) { + throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' ); + } + + public function clearUserWatchedItemsUsingJobQueue( User $user ) { + throw new DBReadOnlyError( null, 'The watchlist is currently readonly.' ); + } }