summaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-01-28 22:59:48 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-01-29 13:08:02 +0100
commit01cdc70f9c8fd98d2ea49bcfba9005f2797c815d (patch)
treeb853e7991ab474b1519e54c30bfc1ed0e5a37953 /lib/private/user
parent24025f32f448d9bef1087bea01d771dd7e871996 (diff)
downloadnextcloud-server-01cdc70f9c8fd98d2ea49bcfba9005f2797c815d.tar.gz
nextcloud-server-01cdc70f9c8fd98d2ea49bcfba9005f2797c815d.zip
introduce comments read marke tables, comes with user cleanup after deletion
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/user/user.php b/lib/private/user/user.php
index e8ce6b8cc87..5e556575118 100644
--- a/lib/private/user/user.php
+++ b/lib/private/user/user.php
@@ -211,6 +211,7 @@ class User implements IUser {
\OC\Files\Cache\Storage::remove('home::' . $this->uid);
\OC::$server->getCommentsManager()->deleteReferencesOfActor('user', $this->uid);
+ \OC::$server->getCommentsManager()->deleteReadMarksFromUser($this);
}
if ($this->emitter) {