From 28f8eb5dba60a75f7e22debbdc26f1d3164deb18 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 10 Apr 2020 16:54:27 +0200 Subject: Add visibility to all constants Signed-off-by: Christoph Wurst --- lib/private/legacy/OC_Files.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/private/legacy/OC_Files.php') 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 = ''; -- cgit v1.2.3