summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-31 21:05:00 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-31 21:05:00 -0400
commitb6aa5d2875bf171a7cf508102ef16f42b47b984a (patch)
tree42f8599931c37ddd083ff8f5ca25590d0a974c0e /lib/public
parent94ce8f2168bdd9897f54ec433ad7017fb3db1cc8 (diff)
downloadnextcloud-server-b6aa5d2875bf171a7cf508102ef16f42b47b984a.tar.gz
nextcloud-server-b6aa5d2875bf171a7cf508102ef16f42b47b984a.zip
Include contacts in share with search
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/share.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 3053da47e86..47181c8c1f9 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -34,6 +34,9 @@ class Share {
const SHARE_TYPE_USER = 0;
const SHARE_TYPE_GROUP = 1;
const SHARE_TYPE_PRIVATE_LINK = 3;
+ const SHARE_TYPE_EMAIL = 4;
+ const SHARE_TYPE_CONTACT = 5;
+ const SHARE_TYPE_REMOTE = 6;
/** CRUDS permissions (Create, Read, Update, Delete, Share) using a bitmask
* Construct permissions for share() and setPermissions with Or (|) e.g. Give user read and update permissions: PERMISSION_READ | PERMISSION_UPDATE