diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-01-21 23:58:48 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-01-21 23:58:48 +0100 |
commit | 374e3475c9e2e0220cc8639a1a06f68b7f43fb2b (patch) | |
tree | 6ba3fd129580215038e794de74f8f5e25ca5aeb4 /lib/private/user.php | |
parent | 9851727b0d231e2c0af79a704af76d262d21f19d (diff) | |
download | nextcloud-server-374e3475c9e2e0220cc8639a1a06f68b7f43fb2b.tar.gz nextcloud-server-374e3475c9e2e0220cc8639a1a06f68b7f43fb2b.zip |
Also remove the user's home storage from the storage table when deleting a user
Diffstat (limited to 'lib/private/user.php')
-rw-r--r-- | lib/private/user.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index 98ebebbe5c1..2519200d0f0 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -205,6 +205,9 @@ class OC_User { // Delete user files in /data/ OC_Helper::rmdirr(\OC_User::getHome($uid)); + // Delete the users entry in the storage table + \OC\Files\Cache\Storage::remove('home::' . $uid); + // Remove it from the Cache self::getManager()->delete($uid); } |