summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Service
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 /apps/files_external/lib/Service
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 'apps/files_external/lib/Service')
-rw-r--r--apps/files_external/lib/Service/BackendService.php10
-rw-r--r--apps/files_external/lib/Service/DBConfigService.php10
2 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_external/lib/Service/BackendService.php b/apps/files_external/lib/Service/BackendService.php
index 617b44651ae..d89e782f6f6 100644
--- a/apps/files_external/lib/Service/BackendService.php
+++ b/apps/files_external/lib/Service/BackendService.php
@@ -41,15 +41,15 @@ use OCP\IConfig;
class BackendService {
/** Visibility constants for VisibilityTrait */
- const VISIBILITY_NONE = 0;
- const VISIBILITY_PERSONAL = 1;
- const VISIBILITY_ADMIN = 2;
+ public const VISIBILITY_NONE = 0;
+ public const VISIBILITY_PERSONAL = 1;
+ public const VISIBILITY_ADMIN = 2;
//const VISIBILITY_ALIENS = 4;
- const VISIBILITY_DEFAULT = 3; // PERSONAL | ADMIN
+ public const VISIBILITY_DEFAULT = 3; // PERSONAL | ADMIN
/** Priority constants for PriorityTrait */
- const PRIORITY_DEFAULT = 100;
+ public const PRIORITY_DEFAULT = 100;
/** @var IConfig */
protected $config;
diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php
index 51373e8dda6..7a4579fd3f7 100644
--- a/apps/files_external/lib/Service/DBConfigService.php
+++ b/apps/files_external/lib/Service/DBConfigService.php
@@ -36,12 +36,12 @@ use OCP\Security\ICrypto;
* Stores the mount config in the database
*/
class DBConfigService {
- const MOUNT_TYPE_ADMIN = 1;
- const MOUNT_TYPE_PERSONAl = 2;
+ public const MOUNT_TYPE_ADMIN = 1;
+ public const MOUNT_TYPE_PERSONAl = 2;
- const APPLICABLE_TYPE_GLOBAL = 1;
- const APPLICABLE_TYPE_GROUP = 2;
- const APPLICABLE_TYPE_USER = 3;
+ public const APPLICABLE_TYPE_GLOBAL = 1;
+ public const APPLICABLE_TYPE_GROUP = 2;
+ public const APPLICABLE_TYPE_USER = 3;
/**
* @var IDBConnection