diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
commit | 28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch) | |
tree | 5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/private/legacy/OC_Files.php | |
parent | 1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff) | |
download | nextcloud-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 'lib/private/legacy/OC_Files.php')
-rw-r--r-- | lib/private/legacy/OC_Files.php | 8 |
1 files changed, 4 insertions, 4 deletions
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 = ''; |