summaryrefslogtreecommitdiffstats
path: root/lib/public/Accounts
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/public/Accounts
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
downloadnextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz
nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Accounts')
-rw-r--r--lib/public/Accounts/IAccountManager.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/public/Accounts/IAccountManager.php b/lib/public/Accounts/IAccountManager.php
index 9d02e0b43c0..23af0f8b0b1 100644
--- a/lib/public/Accounts/IAccountManager.php
+++ b/lib/public/Accounts/IAccountManager.php
@@ -38,23 +38,23 @@ use OCP\IUser;
interface IAccountManager {
/** nobody can see my account details */
- const VISIBILITY_PRIVATE = 'private';
+ public const VISIBILITY_PRIVATE = 'private';
/** only contacts, especially trusted servers can see my contact details */
- const VISIBILITY_CONTACTS_ONLY = 'contacts';
+ public const VISIBILITY_CONTACTS_ONLY = 'contacts';
/** every body ca see my contact detail, will be published to the lookup server */
- const VISIBILITY_PUBLIC = 'public';
+ public const VISIBILITY_PUBLIC = 'public';
- const PROPERTY_AVATAR = 'avatar';
- const PROPERTY_DISPLAYNAME = 'displayname';
- const PROPERTY_PHONE = 'phone';
- const PROPERTY_EMAIL = 'email';
- const PROPERTY_WEBSITE = 'website';
- const PROPERTY_ADDRESS = 'address';
- const PROPERTY_TWITTER = 'twitter';
+ public const PROPERTY_AVATAR = 'avatar';
+ public const PROPERTY_DISPLAYNAME = 'displayname';
+ public const PROPERTY_PHONE = 'phone';
+ public const PROPERTY_EMAIL = 'email';
+ public const PROPERTY_WEBSITE = 'website';
+ public const PROPERTY_ADDRESS = 'address';
+ public const PROPERTY_TWITTER = 'twitter';
- const NOT_VERIFIED = '0';
- const VERIFICATION_IN_PROGRESS = '1';
- const VERIFIED = '2';
+ public const NOT_VERIFIED = '0';
+ public const VERIFICATION_IN_PROGRESS = '1';
+ public const VERIFIED = '2';
/**
* Get the account data for a given user