diff options
author | scambra <sergio@entrecables.com> | 2012-06-14 16:09:32 +0200 |
---|---|---|
committer | scambra <sergio@entrecables.com> | 2012-10-16 17:34:35 +0200 |
commit | e8441becdba97ce46585043a071d01b5c74526a6 (patch) | |
tree | 16f0f678748aa04344cddf7129b818294f14ada5 /lib/filecache.php | |
parent | e7c9d5fe54ec619793ae77829b93df4635279662 (diff) | |
download | nextcloud-server-e8441becdba97ce46585043a071d01b5c74526a6.tar.gz nextcloud-server-e8441becdba97ce46585043a071d01b5c74526a6.zip |
delete fscache on deleting user
Diffstat (limited to 'lib/filecache.php')
-rw-r--r-- | lib/filecache.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index 8fcb6fd9404..a36cfef6759 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -203,7 +203,7 @@ class OC_FileCache{ OC_Cache::remove('fileid/'.$root.$path); } - + /** * return array of filenames matching the querty * @param string $query @@ -509,3 +509,4 @@ class OC_FileCache{ OC_Hook::connect('OC_Filesystem','post_write','OC_FileCache_Update','fileSystemWatcherWrite'); OC_Hook::connect('OC_Filesystem','post_delete','OC_FileCache_Update','fileSystemWatcherDelete'); OC_Hook::connect('OC_Filesystem','post_rename','OC_FileCache_Update','fileSystemWatcherRename'); +OC_Hook::connect('OC_User','post_deleteUser','OC_FileCache_Update','deleteFromUser'); |