diff --git a/apps/files_trashbin/command/expire.php b/apps/files_trashbin/command/expire.php index 842e061eeb9b62007129c71240ec598c81d32533..968608a31cb3feaa92c4f1b9acadca35b30bcd18 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); }