diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-07-16 14:25:31 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-07-16 14:25:31 +0200 |
commit | 94fa21d146246a2f1d7cafbd6b1e38ba897694bd (patch) | |
tree | 425402be0cb02d874e5b866018badf097cc51474 /lib/private/group | |
parent | 4d74aa09bf7102a1104549b08c6bebe2382ec0cd (diff) | |
download | nextcloud-server-94fa21d146246a2f1d7cafbd6b1e38ba897694bd.tar.gz nextcloud-server-94fa21d146246a2f1d7cafbd6b1e38ba897694bd.zip |
Add group management to the public api
Diffstat (limited to 'lib/private/group')
-rw-r--r-- | lib/private/group/group.php | 4 | ||||
-rw-r--r-- | lib/private/group/manager.php | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/private/group/group.php b/lib/private/group/group.php index e0a35924854..6f8b84dff1a 100644 --- a/lib/private/group/group.php +++ b/lib/private/group/group.php @@ -9,7 +9,9 @@ namespace OC\Group; -class Group { +use OCP\IGroup; + +class Group implements IGroup { /** * @var string $id */ diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index 3613c7547bd..368fa3851d7 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -10,6 +10,7 @@ namespace OC\Group; use OC\Hooks\PublicEmitter; +use OCP\IGroupManager; /** * Class Manager @@ -26,7 +27,7 @@ use OC\Hooks\PublicEmitter; * * @package OC\Group */ -class Manager extends PublicEmitter { +class Manager extends PublicEmitter implements IGroupManager { /** * @var \OC_Group_Backend[]|\OC_Group_Database[] $backends */ |