summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorRoeland Douma <rullzer@users.noreply.github.com>2016-04-12 09:46:25 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-12 09:46:25 +0200
commit495a964ca2e5384f6e6a97a4c9cab73a02928634 (patch)
tree6389fd51c66801b80cd58282b92dd261f0789078 /apps/federatedfilesharing/lib
parent4ddf9f98f1189192acfeb5ba9046a4bc0b52dbe5 (diff)
downloadnextcloud-server-495a964ca2e5384f6e6a97a4c9cab73a02928634.tar.gz
nextcloud-server-495a964ca2e5384f6e6a97a4c9cab73a02928634.zip
Migrate post_groupDelete hook to share manager (#23841)
The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/federatedshareprovider.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/federatedfilesharing/lib/federatedshareprovider.php b/apps/federatedfilesharing/lib/federatedshareprovider.php
index a450b420cf4..64e4b6de4f1 100644
--- a/apps/federatedfilesharing/lib/federatedshareprovider.php
+++ b/apps/federatedfilesharing/lib/federatedshareprovider.php
@@ -580,4 +580,14 @@ class FederatedShareProvider implements IShareProvider {
->andWhere($qb->expr()->eq('uid_owner', $qb->createNamedParameter($uid)))
->execute();
}
+
+ /**
+ * This provider does not handle groups
+ *
+ * @param string $gid
+ */
+ public function groupDeleted($gid) {
+ // We don't handle groups here
+ return;
+ }
}