diff options
-rw-r--r-- | apps/federatedfilesharing/lib/FederatedShareProvider.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index 75bc6261756..b4fedecfd42 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -618,6 +618,7 @@ class FederatedShareProvider implements IShareProvider { ->andWhere($qb->expr()->neq('share_type', $qb->createNamedParameter(IShare::TYPE_CIRCLE))); $qb->execute(); + $qb = $this->dbConnection->getQueryBuilder(); $qb->delete('federated_reshares') ->where($qb->expr()->eq('share_id', $qb->createNamedParameter($shareId))); $qb->execute(); |