Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
857bb453
Commit
857bb453
authored
6 years ago
by
Daniel Calviño Sánchez
Browse files
Options
Downloads
Patches
Plain Diff
Add comment with IDs of internal share types
Signed-off-by:
Daniel Calviño Sánchez
<
danxuliu@gmail.com
>
parent
7292a986
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/Share/Constants.php
+2
-0
2 additions, 0 deletions
lib/private/Share/Constants.php
with
2 additions
and
0 deletions
lib/private/Share/Constants.php
+
2
−
0
View file @
857bb453
...
...
@@ -31,6 +31,7 @@ class Constants {
const
SHARE_TYPE_USER
=
0
;
const
SHARE_TYPE_GROUP
=
1
;
// const SHARE_TYPE_USERGROUP = 2; // Internal type used by DefaultShareProvider
const
SHARE_TYPE_LINK
=
3
;
const
SHARE_TYPE_EMAIL
=
4
;
const
SHARE_TYPE_CONTACT
=
5
;
// ToDo Check if it is still in use otherwise remove it
...
...
@@ -39,6 +40,7 @@ class Constants {
const
SHARE_TYPE_GUEST
=
8
;
const
SHARE_TYPE_REMOTE_GROUP
=
9
;
const
SHARE_TYPE_ROOM
=
10
;
// const SHARE_TYPE_USERROOM = 11; // Internal type used by RoomShareProvider
const
FORMAT_NONE
=
-
1
;
const
FORMAT_STATUSES
=
-
2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment