diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-11-16 20:49:38 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-12-08 13:58:12 +0100 |
commit | 4ee3fcb78113caff9f2b890cb7d1702dc936d81e (patch) | |
tree | f8fc506f997acdb8e5315c62bb068b0b6db6cd56 /lib/Db/ItemMapperV2.php | |
parent | 8abddeab4f541883721d912f97dec07bffdfc6b8 (diff) |
Refactor User ID fetching and fix non-specific cleanup
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Db/ItemMapperV2.php')
-rw-r--r-- | lib/Db/ItemMapperV2.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Db/ItemMapperV2.php b/lib/Db/ItemMapperV2.php index 4f6f82413..4a301fca2 100644 --- a/lib/Db/ItemMapperV2.php +++ b/lib/Db/ItemMapperV2.php @@ -149,4 +149,15 @@ class ItemMapperV2 extends NewsMapperV2 return $this->db->executeQuery($query)->fetch(FetchMode::ASSOCIATIVE); } + + /** + * No-op clear deleted items. + * + * @param string|null $userID + * @param int|null $oldestDelete + */ + public function purgeDeleted(?string $userID, ?int $oldestDelete): void + { + //NO-OP + } } |