diff --git a/lib/private/User/User.php b/lib/private/User/User.php index 4d403535bf3..7859db23b6b 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -212,6 +212,10 @@ class User implements IUser { \OC::$server->getCommentsManager()->deleteReferencesOfActor('users', $this->uid); \OC::$server->getCommentsManager()->deleteReadMarksFromUser($this); + + $notification = \OC::$server->getNotificationManager()->createNotification(); + $notification->setUser($this->uid); + \OC::$server->getNotificationManager()->markProcessed($notification); } if ($this->emitter) {