Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 17:54:27 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 17:54:27 +0300
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /apps/federation
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/TrustedServers.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/federation/lib/TrustedServers.php b/apps/federation/lib/TrustedServers.php
index 3d659e7eb95..cc1913e9475 100644
--- a/apps/federation/lib/TrustedServers.php
+++ b/apps/federation/lib/TrustedServers.php
@@ -42,13 +42,13 @@ use Symfony\Component\EventDispatcher\GenericEvent;
class TrustedServers {
/** after a user list was exchanged at least once successfully */
- const STATUS_OK = 1;
+ public const STATUS_OK = 1;
/** waiting for shared secret or initial user list exchange */
- const STATUS_PENDING = 2;
+ public const STATUS_PENDING = 2;
/** something went wrong, misconfigured server, software bug,... user interaction needed */
- const STATUS_FAILURE = 3;
+ public const STATUS_FAILURE = 3;
/** remote server revoked access */
- const STATUS_ACCESS_REVOKED = 4;
+ public const STATUS_ACCESS_REVOKED = 4;
/** @var dbHandler */
private $dbHandler;