summaryrefslogtreecommitdiffstats
path: root/lib/private/User
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User')
-rw-r--r--lib/private/User/User.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php
index 94ac8c13621..11c0cc8649a 100644
--- a/lib/private/User/User.php
+++ b/lib/private/User/User.php
@@ -214,6 +214,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) {