summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-29 17:07:45 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-29 17:07:45 +0100
commit73d9699be9d2a343b0573dc6a5bcc65f5f9c7303 (patch)
tree59b880d60de8c7712e23faded4ed76cb7d43a899 /apps/provisioning_api/appinfo
parentc30a68e2f87d0052510f84ca78ad33472d296c18 (diff)
parentc6f6a8758b3f08e47c3a8f45a67d09698376b2e2 (diff)
downloadnextcloud-server-73d9699be9d2a343b0573dc6a5bcc65f5f9c7303.tar.gz
nextcloud-server-73d9699be9d2a343b0573dc6a5bcc65f5f9c7303.zip
Merge pull request #20135 from owncloud/check-if-null-subadmin
Drop OC_SubAdmin and replace usages
Diffstat (limited to 'apps/provisioning_api/appinfo')
-rw-r--r--apps/provisioning_api/appinfo/routes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php
index 2a4b50dc27c..dcf18e0e53b 100644
--- a/apps/provisioning_api/appinfo/routes.php
+++ b/apps/provisioning_api/appinfo/routes.php
@@ -1,6 +1,7 @@
<?php
/**
* @author Joas Schilling <nickvergessen@owncloud.com>
+ * @author Lukas Reschke <lukas@owncloud.com>
* @author michag86 <micha_g@arcor.de>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Roeland Jago Douma <rullzer@owncloud.com>
@@ -32,7 +33,8 @@ $users = new \OCA\Provisioning_API\Users(
\OC::$server->getUserManager(),
\OC::$server->getConfig(),
\OC::$server->getGroupManager(),
- \OC::$server->getUserSession()
+ \OC::$server->getUserSession(),
+ \OC::$server->getLogger()
);
API::register('get', '/cloud/users', [$users, 'getUsers'], 'provisioning_api', API::SUBADMIN_AUTH);
API::register('post', '/cloud/users', [$users, 'addUser'], 'provisioning_api', API::ADMIN_AUTH);