diff --git a/lib/private/user/user.php b/lib/private/user/user.php index 7e1a0794c6c..ea0ebf3d910 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) {