diff options
Diffstat (limited to 'lib/public/Constants.php')
-rw-r--r-- | lib/public/Constants.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/Constants.php b/lib/public/Constants.php index 8326aa6570e..8d38ade7baf 100644 --- a/lib/public/Constants.php +++ b/lib/public/Constants.php @@ -18,20 +18,20 @@ namespace OCP; */ class Constants { /** - * CRUDS permissions. * @since 8.0.0 */ - public const PERMISSION_CREATE = 4; + public const PERMISSION_READ = 1; /** * @since 8.0.0 */ - public const PERMISSION_READ = 1; + public const PERMISSION_UPDATE = 2; /** + * CRUDS permissions. * @since 8.0.0 */ - public const PERMISSION_UPDATE = 2; + public const PERMISSION_CREATE = 4; /** * @since 8.0.0 @@ -52,7 +52,7 @@ class Constants { * @since 8.0.0 - Updated in 9.0.0 to allow all POSIX chars since we no * longer support windows as server platform. */ - public const FILENAME_INVALID_CHARS = "\\/"; + public const FILENAME_INVALID_CHARS = '\\/'; /** * @since 21.0.0 – default value for autocomplete/search results limit, |