summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-10 11:47:06 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-10 11:47:06 +0100
commit7cb6811a7b23a2fed96bea65b9ea8aaad512e33a (patch)
tree20b84abcfc7159ef28f12e37fb2c98cb6d4425ce /apps/files_trashbin
parentc80522ed63e3225ce1f1353581220c3296ed0590 (diff)
downloadnextcloud-server-7cb6811a7b23a2fed96bea65b9ea8aaad512e33a.tar.gz
nextcloud-server-7cb6811a7b23a2fed96bea65b9ea8aaad512e33a.zip
tearDown the filesystem right before setting it up again
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/command/expire.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/command/expire.php b/apps/files_trashbin/command/expire.php
index 842e061eeb9..968608a31cb 100644
--- a/apps/files_trashbin/command/expire.php
+++ b/apps/files_trashbin/command/expire.php
@@ -49,6 +49,7 @@ class Expire implements ICommand {
}
public function handle() {
+ \OC_Util::tearDownFS();
\OC_Util::setupFS($this->user);
Trashbin::expire($this->trashBinSize, $this->user);
}