aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/storage/temporary.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/storage/temporary.php')
-rw-r--r--lib/files/storage/temporary.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files/storage/temporary.php b/lib/files/storage/temporary.php
index ffc55e27507..542d2cd9f48 100644
--- a/lib/files/storage/temporary.php
+++ b/lib/files/storage/temporary.php
@@ -9,11 +9,11 @@
namespace OC\Files\Storage;
/**
- * local storage backnd in temporary folder for testing purpores
+ * local storage backend in temporary folder for testing purpose
*/
class Temporary extends Local{
public function __construct($arguments) {
- $this->datadir=\OC_Helper::tmpFolder();
+ parent::__construct(array('datadir' => \OC_Helper::tmpFolder()));
}
public function cleanUp() {