summaryrefslogtreecommitdiffstats
path: root/lib/Service/FeedServiceV2.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/FeedServiceV2.php')
-rw-r--r--lib/Service/FeedServiceV2.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/Service/FeedServiceV2.php b/lib/Service/FeedServiceV2.php
index 94878d5fe..16402d0da 100644
--- a/lib/Service/FeedServiceV2.php
+++ b/lib/Service/FeedServiceV2.php
@@ -328,9 +328,17 @@ class FeedServiceV2 extends Service
$this->mapper->delete($feed);
}
- public function purgeDeleted(): void
+ /**
+ * Remove deleted entities.
+ *
+ * @param string|null $userID The user to purge
+ * @param int|null $minTimestamp The timestamp to purge from
+ *
+ * @return void
+ */
+ public function purgeDeleted(?string $userID, ?int $minTimestamp): void
{
- $this->mapper->purgeDeleted();
+ $this->mapper->purgeDeleted($userID, $minTimestamp);
}
public function fetchAll(): void