summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/Principal.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-03-29 10:30:22 -0600
committerGitHub <noreply@github.com>2017-03-29 10:30:22 -0600
commitc1030a34a589a27e448a5f97d5e40e0459692a89 (patch)
tree75851a1aa4b1e14e5f2bb7b4c9ca637f6d64c754 /apps/dav/lib/Connector/Sabre/Principal.php
parent626d03e3d47994364500bd6cd5dd9a029b862fb7 (diff)
parent7cc96c21216a8b00ebc96ee65e560ccc49b3fbe8 (diff)
downloadnextcloud-server-c1030a34a589a27e448a5f97d5e40e0459692a89.tar.gz
nextcloud-server-c1030a34a589a27e448a5f97d5e40e0459692a89.zip
Merge pull request #4062 from nextcloud/downstream-26872
Adding dav resource for avatars
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Principal.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/Principal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Principal.php b/apps/dav/lib/Connector/Sabre/Principal.php
index 9da416312d0..8713f61767b 100644
--- a/apps/dav/lib/Connector/Sabre/Principal.php
+++ b/apps/dav/lib/Connector/Sabre/Principal.php
@@ -223,8 +223,8 @@ class Principal implements BackendInterface {
$email = $user->getEMailAddress();
if (!empty($email)) {
$principal['{http://sabredav.org/ns}email-address'] = $email;
- return $principal;
}
+
return $principal;
}