From 66f739d85f25d303d9a1dd20e697290350a7fddf Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 16 May 2019 16:20:49 +0200 Subject: [PATCH] DateTime is not yet in 14 Signed-off-by: Roeland Jago Douma --- lib/private/Repair/RemoveLinkShares.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Repair/RemoveLinkShares.php b/lib/private/Repair/RemoveLinkShares.php index 1966ccf40b91e..1f3dd67f96f6c 100644 --- a/lib/private/Repair/RemoveLinkShares.php +++ b/lib/private/Repair/RemoveLinkShares.php @@ -186,7 +186,7 @@ private function addToNotify($uid) { * Send all notifications */ private function sendNotification() { - $time = $this->timeFactory->getDateTime(); + $time = new \DateTime(); $notification = $this->notificationManager->createNotification(); $notification->setApp('core')