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/Controller/FeedApiController.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/Controller/FeedApiController.php')
-rw-r--r-- | lib/Controller/FeedApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/FeedApiController.php b/lib/Controller/FeedApiController.php index ae2f8cdaf..65181f8ac 100644 --- a/lib/Controller/FeedApiController.php +++ b/lib/Controller/FeedApiController.php @@ -117,7 +117,7 @@ class FeedApiController extends ApiController } try { - $this->feedService->purgeDeleted(); + $this->feedService->purgeDeleted($this->getUserId(), time() - 600); $feed = $this->feedService->create($this->getUserId(), $url, $folderId); $result = ['feeds' => $this->serialize($feed)]; |