summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-01 12:05:40 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-02 21:25:05 +0100
commiteebe2b9c239a7f9e7e127f52ab4b9e97763b0149 (patch)
tree81d9d855b7b6e0d5fb387cd5e8c6092f17e21de3 /apps/provisioning_api/lib
parentdf5872ec50a68de5d99bd6b5cf17ceb94f2ef833 (diff)
downloadnextcloud-server-eebe2b9c239a7f9e7e127f52ab4b9e97763b0149.tar.gz
nextcloud-server-eebe2b9c239a7f9e7e127f52ab4b9e97763b0149.zip
User IUser::getEMailAddress() all over the place
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r--apps/provisioning_api/lib/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/users.php b/apps/provisioning_api/lib/users.php
index a2568425d0f..ad067b03cfd 100644
--- a/apps/provisioning_api/lib/users.php
+++ b/apps/provisioning_api/lib/users.php
@@ -199,7 +199,7 @@ class Users {
// Find the data
$data['quota'] = $this->fillStorageInfo($userId);
- $data['email'] = $this->config->getUserValue($userId, 'settings', 'email');
+ $data['email'] = $targetUserObject->getEMailAddress();
$data['displayname'] = $targetUserObject->getDisplayName();
return new OC_OCS_Result($data);