Merge pull request #16212 from nextcloud/backport/notfications/stable15

[stable15] Fix notification casting
This commit is contained in:
Roeland Jago Douma 2019-07-03 21:48:46 +02:00 committed by GitHub
commit 0237578aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}