From 7cb6811a7b23a2fed96bea65b9ea8aaad512e33a Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 10 Mar 2015 11:47:06 +0100 Subject: tearDown the filesystem right before setting it up again --- apps/files_trashbin/command/expire.php | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3