diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-11-27 09:47:47 +0300 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-04-17 11:18:18 +0300 |
commit | c0615e3a55885e341bb82e2f8fdb3b2f8e6f49c9 (patch) | |
tree | d1c142a6c99b3ca5409862a2c95769dc72aa0dfb /lib/Controller | |
parent | 3f3f4af7cbb677abd151e2912cbb99fe81bebcd2 (diff) |
Move to new nextcloud npm packages
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/PersonalController.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/Controller/PersonalController.php b/lib/Controller/PersonalController.php index 6b7a56b..4b94075 100644 --- a/lib/Controller/PersonalController.php +++ b/lib/Controller/PersonalController.php @@ -69,23 +69,6 @@ class PersonalController extends Controller { * * @return JSONResponse */ - public function getReadableLocation():JSONResponse { - $location = $this->config->getAppValue($this->appName, 'readableLocation'); - - if ($location === null) { - return new JSONResponse([], Http::STATUS_NOT_FOUND); - } - - return new JSONResponse([ - 'code' => $location, - ], Http::STATUS_OK); - } - - /** - * @NoAdminRequired - * - * @return JSONResponse - */ public function getAdmins():JSONResponse { $adminGroup = $this->groupManager->get('admin'); @@ -107,7 +90,7 @@ class PersonalController extends Controller { 'internal' => true, ]; } - + $query = $this->dbConnection->getQueryBuilder(); $query->select(['id', 'displayname']) ->from('privacy_admins'); |