|
7 | 7 | */ |
8 | 8 | namespace OC\Share; |
9 | 9 |
|
10 | | -use OCP\Share\IShare; |
11 | | - |
12 | 10 | class Constants { |
13 | | - /** |
14 | | - * @deprecated 17.0.0 - use IShare::TYPE_USER instead |
15 | | - */ |
16 | | - public const SHARE_TYPE_USER = 0; |
17 | | - /** |
18 | | - * @deprecated 17.0.0 - use IShare::TYPE_GROUP instead |
19 | | - */ |
20 | | - public const SHARE_TYPE_GROUP = 1; |
21 | | - // const SHARE_TYPE_USERGROUP = 2; // Internal type used by DefaultShareProvider |
22 | | - /** |
23 | | - * @deprecated 17.0.0 - use IShare::TYPE_LINK instead |
24 | | - */ |
25 | | - public const SHARE_TYPE_LINK = 3; |
26 | | - /** |
27 | | - * @deprecated 17.0.0 - use IShare::TYPE_EMAIL instead |
28 | | - */ |
29 | | - public const SHARE_TYPE_EMAIL = 4; |
30 | | - public const SHARE_TYPE_CONTACT = 5; // ToDo Check if it is still in use otherwise remove it |
31 | | - /** |
32 | | - * @deprecated 17.0.0 - use IShare::TYPE_REMOTE instead |
33 | | - */ |
34 | | - public const SHARE_TYPE_REMOTE = 6; |
35 | | - /** |
36 | | - * @deprecated 17.0.0 - use IShare::TYPE_CIRCLE instead |
37 | | - */ |
38 | | - public const SHARE_TYPE_CIRCLE = 7; |
39 | | - /** |
40 | | - * @deprecated 17.0.0 - use IShare::TYPE_GUEST instead |
41 | | - */ |
42 | | - public const SHARE_TYPE_GUEST = 8; |
43 | | - /** |
44 | | - * @deprecated 17.0.0 - use IShare::REMOTE_GROUP instead |
45 | | - */ |
46 | | - public const SHARE_TYPE_REMOTE_GROUP = 9; |
47 | | - /** |
48 | | - * @deprecated 17.0.0 - use IShare::TYPE_ROOM instead |
49 | | - */ |
50 | | - public const SHARE_TYPE_ROOM = 10; |
51 | | - // const SHARE_TYPE_USERROOM = 11; // Internal type used by RoomShareProvider |
52 | | - /** |
53 | | - * @deprecated 21.0.0 - use IShare::TYPE_DECK instead |
54 | | - */ |
55 | | - public const SHARE_TYPE_DECK = 12; |
56 | | - // const SHARE_TYPE_DECK_USER = 13; // Internal type used by DeckShareProvider |
57 | | - |
58 | | - // Note to developers: Do not add new share types here |
59 | | - |
60 | 11 | public const FORMAT_NONE = -1; |
61 | 12 | public const FORMAT_STATUSES = -2; |
62 | 13 | public const FORMAT_SOURCES = -3; // ToDo Check if it is still in use otherwise remove it |
|
0 commit comments