aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_App.php4
-rw-r--r--lib/private/legacy/OC_Files.php8
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index 7b67dd3eada..2454d6be4f0 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -71,8 +71,8 @@ class OC_App {
private static $loadedApps = [];
private static $altLogin = [];
private static $alreadyRegistered = [];
- const supportedApp = 300;
- const officialApp = 200;
+ public const supportedApp = 300;
+ public const officialApp = 200;
/**
* clean the appId
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index e046a577026..ddb824cd6cd 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -50,11 +50,11 @@ use OCP\Lock\ILockingProvider;
*
*/
class OC_Files {
- const FILE = 1;
- const ZIP_FILES = 2;
- const ZIP_DIR = 3;
+ public const FILE = 1;
+ public const ZIP_FILES = 2;
+ public const ZIP_DIR = 3;
- const UPLOAD_MIN_LIMIT_BYTES = 1048576; // 1 MiB
+ public const UPLOAD_MIN_LIMIT_BYTES = 1048576; // 1 MiB
private static $multipartBoundary = '';