summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-27 13:38:55 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-27 13:38:55 +0100
commitf7db879301222149e1790641fa721e11acf95b43 (patch)
tree5045e78384d22dc26e60e4257b0fcb203cd76b11 /lib
parent85ae5b992b69b93f1bfd140d4208d531f221ca83 (diff)
downloadnextcloud-server-f7db879301222149e1790641fa721e11acf95b43.tar.gz
nextcloud-server-f7db879301222149e1790641fa721e11acf95b43.zip
Also remove home storages
Diffstat (limited to 'lib')
-rw-r--r--lib/user.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index e352a6b19a8..690205f9669 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -223,7 +223,8 @@ class OC_User {
$home = self::getHome($uid);
- \OC\Files\Cache\Cache::removeStorage('local::' . $home);
+ \OC\Files\Cache\Cache::removeStorage('local::' . $home . '/');
+ \OC\Files\Cache\Cache::removeStorage('home::' . $uid);
// Delete user files in /data/
OC_Helper::rmdirr(OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ) . '/'.$uid.'/');