fix all shares (not files) got deletes, if one was expired

This commit is contained in:
Ralf Becker 2020-03-06 14:33:34 +01:00
parent 11a3e9df90
commit 4c987e7dd8

View File

@ -780,7 +780,7 @@ class Sharing
if ($share_ids) if ($share_ids)
{ {
$class = self::get_share_class($row); $class = self::get_share_class($row);
$class::delete($share_ids); $class::delete(['share_id' => $share_ids]);
} }
} }