aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-23 14:47:10 +0100
committerVincent Petry <vincent@nextcloud.com>2021-03-26 13:07:08 +0100
commit278a73789e777d2ba00fb7d8b311923a590f10fc (patch)
treef7a43db8d018e341ed143acab8dfbb2771db5eb9 /lib/public
parent9fb447ea427428c86a8d6be77d0145f4fb0ed777 (diff)
downloadnextcloud-server-278a73789e777d2ba00fb7d8b311923a590f10fc.tar.gz
nextcloud-server-278a73789e777d2ba00fb7d8b311923a590f10fc.zip
Map old account scope properties to new names
Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Accounts/IAccountManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index 9d720ba9e50..e88fd32f674 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -50,14 +50,14 @@ interface IAccountManager {
*
* @since 21.0.1
*/
- public const SCOPE_LOCAL = 'private';
+ public const SCOPE_LOCAL = 'v2-local';
/**
* Contact details visible locally, through public link access and on trusted federated servers.
*
* @since 21.0.1
*/
- public const SCOPE_FEDERATED = 'federated';
+ public const SCOPE_FEDERATED = 'v2-federated';
/**
* Contact details visible locally, through public link access, on trusted federated servers
@@ -65,7 +65,7 @@ interface IAccountManager {
*
* @since 21.0.1
*/
- public const SCOPE_PUBLISHED = 'public';
+ public const SCOPE_PUBLISHED = 'v2-published';
/**
* Contact details only visible locally