summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-01-24 15:45:55 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2017-01-25 11:20:35 +0100
commit5086335643b6181284ee50f57b95525002842992 (patch)
tree92eb5ecb8726f51253a6e02a54a18bb2ec359890 /core/Controller
parentfee42647fb06b30cf35e2b21e2e8b5c8ef72bcc8 (diff)
downloadnextcloud-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.php14
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