aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Accounts
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-02-10 21:52:49 +0100
committerjld3103 <jld3103yt@gmail.com>2023-02-10 21:52:54 +0100
commit77f7da99215aa0625c0091d97e288fecfaff07b0 (patch)
tree8bc6fdbd7f2ef6a67d839a1102f768a6da886b0c /lib/public/Accounts
parente0946a1608283bd376f439906c50f3a4eb810839 (diff)
downloadnextcloud-server-77f7da99215aa0625c0091d97e288fecfaff07b0.tar.gz
nextcloud-server-77f7da99215aa0625c0091d97e288fecfaff07b0.zip
Always set displayname and display-name for user data
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'lib/public/Accounts')
-rw-r--r--lib/public/Accounts/IAccountManager.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index 7c977b575ae..68eca469ad9 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -10,6 +10,7 @@ declare(strict_types=1);
* @author Julius Härtl <jus@bitgrid.net>
* @author Thomas Citharel <nextcloud@tcit.fr>
* @author Vincent Petry <vincent@nextcloud.com>
+ * @author Kate Döen <kate.doeen@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -106,6 +107,7 @@ interface IAccountManager {
public const PROPERTY_AVATAR = 'avatar';
public const PROPERTY_DISPLAYNAME = 'displayname';
+ public const PROPERTY_DISPLAYNAME_LEGACY = 'display-name';
public const PROPERTY_PHONE = 'phone';
public const PROPERTY_EMAIL = 'email';
public const PROPERTY_WEBSITE = 'website';