diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-29 10:38:05 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-01-29 20:47:35 +0100 |
commit | 15abcff2a199f9d80baabbc39778765a2458acd2 (patch) | |
tree | c535c00106a36d2b9b4a225172da1939ee100779 /lib/private/Server.php | |
parent | 754932c7569f61fddd152151fcdcae6dbce9e834 (diff) | |
download | nextcloud-server-15abcff2a199f9d80baabbc39778765a2458acd2.tar.gz nextcloud-server-15abcff2a199f9d80baabbc39778765a2458acd2.zip |
Expose subadmin to OCP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 5a8aad4107c..a20676e5271 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -141,6 +141,7 @@ use OCP\Files\NotFoundException; use OCP\Files\Storage\IStorageFactory; use OCP\FullTextSearch\IFullTextSearchManager; use OCP\GlobalScale\IConfig; +use OCP\Group\ISubAdmin; use OCP\ICacheFactory; use OCP\IDBConnection; use OCP\IL10N; @@ -1201,6 +1202,8 @@ class Server extends ServerContainer implements IServerContainer { ); }); + $this->registerAlias(ISubAdmin::class, SubAdmin::class); + $this->connectDispatcher(); } |