Merge pull request #16212 from nextcloud/backport/notfications/stable15
[stable15] Fix notification casting
This commit is contained in:
commit
0237578aa0
|
@ -196,7 +196,7 @@ class RemoveLinkShares implements IRepairStep {
|
|||
|
||||
$users = array_keys($this->userToNotify);
|
||||
foreach ($users as $user) {
|
||||
$notification->setUser($user);
|
||||
$notification->setUser((string) $user);
|
||||
$this->notificationManager->notify($notification);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue