X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fwatcheditem%2FNoWriteWatchedItemStore.php;h=1a0f50471466a03b6d6d5262b37c6214ccc60db1;hb=46504ad36631efd7ee8df47a4b1d5f966d6e3707;hp=1439421037d68166439642732dcf679ce154767b;hpb=cf3bdd40a3fd22045703c1e188115fc87386fa65;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/watcheditem/NoWriteWatchedItemStore.php b/includes/watcheditem/NoWriteWatchedItemStore.php index 1439421037..1a0f504714 100644 --- a/includes/watcheditem/NoWriteWatchedItemStore.php +++ b/includes/watcheditem/NoWriteWatchedItemStore.php @@ -131,4 +131,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.' ); + } }