Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User/Backend.php')
-rw-r--r--lib/private/User/Backend.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/private/User/Backend.php b/lib/private/User/Backend.php
index 354e1c3fd71..477448279a5 100644
--- a/lib/private/User/Backend.php
+++ b/lib/private/User/Backend.php
@@ -34,19 +34,19 @@ abstract class Backend implements UserInterface {
/**
* error code for functions not provided by the user backend
*/
- const NOT_IMPLEMENTED = -501;
+ public const NOT_IMPLEMENTED = -501;
/**
* actions that user backends can define
*/
- const CREATE_USER = 1; // 1 << 0
- const SET_PASSWORD = 16; // 1 << 4
- const CHECK_PASSWORD = 256; // 1 << 8
- const GET_HOME = 4096; // 1 << 12
- const GET_DISPLAYNAME = 65536; // 1 << 16
- const SET_DISPLAYNAME = 1048576; // 1 << 20
- const PROVIDE_AVATAR = 16777216; // 1 << 24
- const COUNT_USERS = 268435456; // 1 << 28
+ public const CREATE_USER = 1; // 1 << 0
+ public const SET_PASSWORD = 16; // 1 << 4
+ public const CHECK_PASSWORD = 256; // 1 << 8
+ public const GET_HOME = 4096; // 1 << 12
+ public const GET_DISPLAYNAME = 65536; // 1 << 16
+ public const SET_DISPLAYNAME = 1048576; // 1 << 20
+ public const PROVIDE_AVATAR = 16777216; // 1 << 24
+ public const COUNT_USERS = 268435456; // 1 << 28
protected $possibleActions = [
self::CREATE_USER => 'createUser',