Fix owner cloud id in unshare activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
509bc4f1eb
commit
1ed251c6a9
|
@ -451,7 +451,7 @@ class RequestHandlerController extends OCSController {
|
|||
$event = \OC::$server->getActivityManager()->generateEvent();
|
||||
$event->setApp('files_sharing')
|
||||
->setType('remote_share')
|
||||
->setSubject(RemoteShares::SUBJECT_REMOTE_SHARE_UNSHARED, [$owner, $path])
|
||||
->setSubject(RemoteShares::SUBJECT_REMOTE_SHARE_UNSHARED, [$owner->getId(), $path])
|
||||
->setAffectedUser($user)
|
||||
->setObject('remote_share', (int)$share['id'], $path);
|
||||
\OC::$server->getActivityManager()->publish($event);
|
||||
|
|
Loading…
Reference in New Issue