summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/RemoveLinkShares.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-06-11 09:52:04 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-06-11 16:53:20 +0200
commit49d5030a532b811388c08a2340a6745255268107 (patch)
tree3a5e129b9db25e5d8f6a9ad392683ba5bd747e8f /lib/private/Repair/RemoveLinkShares.php
parent147073911fd2c4caf37c33bf4d5ae0e2727d8eba (diff)
downloadnextcloud-server-49d5030a532b811388c08a2340a6745255268107.tar.gz
nextcloud-server-49d5030a532b811388c08a2340a6745255268107.zip
Fix userid casting in notifications
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Repair/RemoveLinkShares.php')
-rw-r--r--lib/private/Repair/RemoveLinkShares.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/RemoveLinkShares.php b/lib/private/Repair/RemoveLinkShares.php
index dd020dae502..ed1be705336 100644
--- a/lib/private/Repair/RemoveLinkShares.php
+++ b/lib/private/Repair/RemoveLinkShares.php
@@ -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);
}
}