diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-27 13:38:55 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-27 13:38:55 +0100 |
commit | f7db879301222149e1790641fa721e11acf95b43 (patch) | |
tree | 5045e78384d22dc26e60e4257b0fcb203cd76b11 /lib | |
parent | 85ae5b992b69b93f1bfd140d4208d531f221ca83 (diff) | |
download | nextcloud-server-f7db879301222149e1790641fa721e11acf95b43.tar.gz nextcloud-server-f7db879301222149e1790641fa721e11acf95b43.zip |
Also remove home storages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/user.php | 3 |
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.'/'); |