summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-26 17:30:43 +0100
committerRobin Appelman <icewind@owncloud.com>2015-03-26 17:30:43 +0100
commit6447962f2a3bd845be9ee494f400958371f6e2f9 (patch)
treea215e7fdd87fcfb22bdd2bd587ad4b114e78602b /apps/files_versions
parent1969c8d5c806f74dee7bc90f9bb15422b5930fb8 (diff)
downloadnextcloud-server-6447962f2a3bd845be9ee494f400958371f6e2f9.tar.gz
nextcloud-server-6447962f2a3bd845be9ee494f400958371f6e2f9.zip
teardown after we're done
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/command/expire.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/command/expire.php b/apps/files_versions/command/expire.php
index fe596d37543..d6523746525 100644
--- a/apps/files_versions/command/expire.php
+++ b/apps/files_versions/command/expire.php
@@ -53,5 +53,6 @@ class Expire implements ICommand {
public function handle() {
\OC_Util::setupFS($this->user);
Storage::expire($this->fileName, $this->versionsSize, $this->neededSpace);
+ \OC_Util::tearDownFS();
}
}