Merge pull request #4575 from nextcloud/add-sharing-types-for-guest

Add sharing types for guests
This commit is contained in:
Roeland Jago Douma 2017-04-28 11:12:10 +02:00 committed by GitHub
commit 75e783c2a9
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ OC.Share = _.extend(OC.Share || {}, {
SHARE_TYPE_EMAIL:4,
SHARE_TYPE_REMOTE:6,
SHARE_TYPE_CIRCLE:7,
SHARE_TYPE_GUEST:8,
/**
* Regular expression for splitting parts of remote share owners:

View File

@ -33,6 +33,7 @@ class Constants {
const SHARE_TYPE_CONTACT = 5; // ToDo Check if it is still in use otherwise remove it
const SHARE_TYPE_REMOTE = 6;
const SHARE_TYPE_CIRCLE = 7;
const SHARE_TYPE_GUEST = 8;
const FORMAT_NONE = -1;
const FORMAT_STATUSES = -2;