diff options
Diffstat (limited to 'lib/private/share/constants.php')
-rw-r--r-- | lib/private/share/constants.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/share/constants.php b/lib/private/share/constants.php index 798327cc154..6c9d9431605 100644 --- a/lib/private/share/constants.php +++ b/lib/private/share/constants.php @@ -34,8 +34,12 @@ class Constants { const FORMAT_STATUSES = -2; const FORMAT_SOURCES = -3; // ToDo Check if it is still in use otherwise remove it + const RESPONSE_FORMAT = 'json'; // default resonse format for ocs calls + const TOKEN_LENGTH = 15; // old (oc7) length is 32, keep token length in db at least that for compatibility + const BASE_PATH_TO_SHARE_API = '/ocs/v1.php/cloud/shares'; + protected static $shareTypeUserAndGroups = -1; protected static $shareTypeGroupUserUnique = 2; protected static $backends = array(); |