aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Service
diff options
context:
space:
mode:
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