summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-02 12:29:45 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-02 13:14:02 +0200
commitddb8cc23034ebd4ca5bc16a35ae9d18ac5fb8dac (patch)
tree0dbb61f8a2fb7d48a08fd1f9b61bd20b4316ac79 /apps/files_sharing
parentaa7c8ad1914c10556ef874413abec912749b3b51 (diff)
downloadnextcloud-server-ddb8cc23034ebd4ca5bc16a35ae9d18ac5fb8dac.tar.gz
nextcloud-server-ddb8cc23034ebd4ca5bc16a35ae9d18ac5fb8dac.zip
Use federated cloud id as a parameter type
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/activity.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/activity.php b/apps/files_sharing/lib/activity.php
index e35abee8c87..e531674ddc2 100644
--- a/apps/files_sharing/lib/activity.php
+++ b/apps/files_sharing/lib/activity.php
@@ -196,13 +196,13 @@ class Activity implements IExtension {
case self::SUBJECT_REMOTE_SHARE_RECEIVED:
case self::SUBJECT_REMOTE_SHARE_UNSHARED:
return array(
- 0 => '',// We can not use 'username' since the user is in a different ownCloud
+ 0 => 'federated_cloud_id',
//1 => 'file', in theory its a file, but it does not exist yet/anymore
);
case self::SUBJECT_REMOTE_SHARE_ACCEPTED:
case self::SUBJECT_REMOTE_SHARE_DECLINED:
return array(
- 0 => '',// We can not use 'username' since the user is in a different ownCloud
+ 0 => 'federated_cloud_id',
1 => 'file',
);
case self::SUBJECT_PUBLIC_SHARED_FOLDER_DOWNLOADED:
@@ -219,7 +219,7 @@ class Activity implements IExtension {
case self::SUBJECT_SHARED_GROUP_SELF:
return [
0 => 'file',
- //1 => 'group', Group does not exist yet
+ 1 => 'group',
];
}
}