From 4c987e7dd8f875ae760f87fa045e00ac0ba4fbef Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 6 Mar 2020 14:33:34 +0100 Subject: [PATCH] fix all shares (not files) got deletes, if one was expired --- api/src/Sharing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Sharing.php b/api/src/Sharing.php index 9397cba8c2..792779e9e8 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -780,7 +780,7 @@ class Sharing if ($share_ids) { $class = self::get_share_class($row); - $class::delete($share_ids); + $class::delete(['share_id' => $share_ids]); } }