@@ -26,26 +26,26 @@ |
||
| 26 | 26 | |
| 27 | 27 | class Constants { |
| 28 | 28 | |
| 29 | - const SHARE_TYPE_USER = 0; |
|
| 30 | - const SHARE_TYPE_GROUP = 1; |
|
| 31 | - const SHARE_TYPE_LINK = 3; |
|
| 32 | - const SHARE_TYPE_EMAIL = 4; |
|
| 33 | - const SHARE_TYPE_CONTACT = 5; // ToDo Check if it is still in use otherwise remove it |
|
| 34 | - const SHARE_TYPE_REMOTE = 6; |
|
| 35 | - const SHARE_TYPE_CIRCLE = 7; |
|
| 36 | - const SHARE_TYPE_GUEST = 8; |
|
| 29 | + const SHARE_TYPE_USER = 0; |
|
| 30 | + const SHARE_TYPE_GROUP = 1; |
|
| 31 | + const SHARE_TYPE_LINK = 3; |
|
| 32 | + const SHARE_TYPE_EMAIL = 4; |
|
| 33 | + const SHARE_TYPE_CONTACT = 5; // ToDo Check if it is still in use otherwise remove it |
|
| 34 | + const SHARE_TYPE_REMOTE = 6; |
|
| 35 | + const SHARE_TYPE_CIRCLE = 7; |
|
| 36 | + const SHARE_TYPE_GUEST = 8; |
|
| 37 | 37 | |
| 38 | - const FORMAT_NONE = -1; |
|
| 39 | - const FORMAT_STATUSES = -2; |
|
| 40 | - const FORMAT_SOURCES = -3; // ToDo Check if it is still in use otherwise remove it |
|
| 38 | + const FORMAT_NONE = -1; |
|
| 39 | + const FORMAT_STATUSES = -2; |
|
| 40 | + const FORMAT_SOURCES = -3; // ToDo Check if it is still in use otherwise remove it |
|
| 41 | 41 | |
| 42 | - const RESPONSE_FORMAT = 'json'; // default resonse format for ocs calls |
|
| 42 | + const RESPONSE_FORMAT = 'json'; // default resonse format for ocs calls |
|
| 43 | 43 | |
| 44 | - const TOKEN_LENGTH = 15; // old (oc7) length is 32, keep token length in db at least that for compatibility |
|
| 44 | + const TOKEN_LENGTH = 15; // old (oc7) length is 32, keep token length in db at least that for compatibility |
|
| 45 | 45 | |
| 46 | - protected static $shareTypeUserAndGroups = -1; |
|
| 47 | - protected static $shareTypeGroupUserUnique = 2; |
|
| 48 | - protected static $backends = array(); |
|
| 49 | - protected static $backendTypes = array(); |
|
| 50 | - protected static $isResharingAllowed; |
|
| 46 | + protected static $shareTypeUserAndGroups = -1; |
|
| 47 | + protected static $shareTypeGroupUserUnique = 2; |
|
| 48 | + protected static $backends = array(); |
|
| 49 | + protected static $backendTypes = array(); |
|
| 50 | + protected static $isResharingAllowed; |
|
| 51 | 51 | } |