summaryrefslogtreecommitdiffstats
path: root/lib/private/user
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 /lib/private/user
parentdf5872ec50a68de5d99bd6b5cf17ceb94f2ef833 (diff)
downloadnextcloud-server-eebe2b9c239a7f9e7e127f52ab4b9e97763b0149.tar.gz
nextcloud-server-eebe2b9c239a7f9e7e127f52ab4b9e97763b0149.zip
User IUser::getEMailAddress() all over the place
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/user/user.php b/lib/private/user/user.php
index d1fa641504c..d827097ee39 100644
--- a/lib/private/user/user.php
+++ b/lib/private/user/user.php
@@ -312,7 +312,7 @@ class User implements IUser {
* @since 9.0.0
*/
public function getEMailAddress() {
- return $this->config->getUserValue($this->uid, 'settings', 'email');
+ return $this->config->getUserValue($this->uid, 'settings', 'email', null);
}
/**