diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-01-24 15:45:55 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-01-25 11:20:35 +0100 |
commit | 5086335643b6181284ee50f57b95525002842992 (patch) | |
tree | 92eb5ecb8726f51253a6e02a54a18bb2ec359890 /core/Controller | |
parent | fee42647fb06b30cf35e2b21e2e8b5c8ef72bcc8 (diff) | |
download | nextcloud-server-5086335643b6181284ee50f57b95525002842992.tar.gz nextcloud-server-5086335643b6181284ee50f57b95525002842992.zip |
unify endpoints form core and the the provisioning api
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/OCSController.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php index dc9775f2603..1deb5e958bd 100644 --- a/core/Controller/OCSController.php +++ b/core/Controller/OCSController.php @@ -106,20 +106,6 @@ class OCSController extends \OCP\AppFramework\OCSController { } /** - * @NoAdminRequired - * @return DataResponse - */ - public function getCurrentUser() { - $userObject = $this->userSession->getUser(); - $data = [ - 'id' => $userObject->getUID(), - 'display-name' => $userObject->getDisplayName(), - 'email' => $userObject->getEMailAddress(), - ]; - return new DataResponse($data); - } - - /** * @PublicPage * * @param string $login |