Merge pull request #16213 from nextcloud/backport/notfications/stable14

[stable14] Fix notification casting
This commit is contained in:
Morris Jobke 2019-07-03 21:59:40 +02:00 committed by GitHub
commit 34aa90f0ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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