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/public/Constants.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/public/Constants.php')
-rw-r--r-- | lib/public/Constants.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Constants.php b/lib/public/Constants.php index 7c23745b935..b7165768733 100644 --- a/lib/public/Constants.php +++ b/lib/public/Constants.php @@ -40,16 +40,16 @@ class Constants { * CRUDS permissions. * @since 8.0.0 */ - const PERMISSION_CREATE = 4; - const PERMISSION_READ = 1; - const PERMISSION_UPDATE = 2; - const PERMISSION_DELETE = 8; - const PERMISSION_SHARE = 16; - const PERMISSION_ALL = 31; + public const PERMISSION_CREATE = 4; + public const PERMISSION_READ = 1; + public const PERMISSION_UPDATE = 2; + public const PERMISSION_DELETE = 8; + public const PERMISSION_SHARE = 16; + public const PERMISSION_ALL = 31; /** * @since 8.0.0 - Updated in 9.0.0 to allow all POSIX chars since we no * longer support windows as server platform. */ - const FILENAME_INVALID_CHARS = "\\/"; + public const FILENAME_INVALID_CHARS = "\\/"; } |