summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-23 14:47:10 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-29 07:03:31 +0000
commit5d76574a81197e00cf4d0e781d41a311a76f37fc (patch)
tree400735d3d3b91733e7f5c9ef3704ec46f33b812f /lib/public
parente2ab530ee37c6bcb363c64c33f983ee13d1b8d4f (diff)
downloadnextcloud-server-5d76574a81197e00cf4d0e781d41a311a76f37fc.tar.gz
nextcloud-server-5d76574a81197e00cf4d0e781d41a311a76f37fc.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