Use federated cloud id as a parameter type

This commit is contained in:
Joas Schilling 2015-07-02 12:29:45 +02:00
parent aa7c8ad191
commit ddb8cc2303
1 changed files with 3 additions and 3 deletions

View File

@ -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',
];
}
}