Fix owner cloud id in unshare activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
b69ddfba8b
commit
33cb45d4a3
|
@ -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