diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-13 15:00:12 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-13 15:00:12 +0200 |
commit | 6144ced7a09356a0aaa70cdc359613d3abf8d28e (patch) | |
tree | 53f4a3586cae4d4320141e71677e2b3dfc435052 /lib/private/Share20/Manager.php | |
parent | 15397a9c910925ac368001545ab96509a12cb0ad (diff) | |
download | nextcloud-server-6144ced7a09356a0aaa70cdc359613d3abf8d28e.tar.gz nextcloud-server-6144ced7a09356a0aaa70cdc359613d3abf8d28e.zip |
Move post_removeFromGroup to shareManager
The last sharing hook to be moved over.
* Added unit tests
* Removed old tests that relied on old behaviour
* Removed old hooks.php
Diffstat (limited to 'lib/private/Share20/Manager.php')
-rw-r--r-- | lib/private/Share20/Manager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 6f2efe167d4..1ec25750cfe 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1057,6 +1057,14 @@ class Manager implements IManager { } /** + * @inheritdoc + */ + public function userDeletedFromGroup($uid, $gid) { + $provider = $this->factory->getProviderForType(\OCP\Share::SHARE_TYPE_GROUP); + $provider->userDeletedFromGroup($uid, $gid); + } + + /** * Get access list to a path. This means * all the users and groups that can access a given path. * |