]> source.dussan.org Git - nextcloud-server.git/commitdiff
pass the argument to the ctor
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 31 Jan 2013 21:04:08 +0000 (22:04 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Tue, 5 Feb 2013 15:24:11 +0000 (16:24 +0100)
Conflicts:
lib/files/storage/temporary.php

lib/files/storage/temporary.php

index ffc55e275077623c59309bf041ca990046d43de3..b8bb619278677ea7b6ee8b601002598cb65389dd 100644 (file)
@@ -13,7 +13,7 @@ namespace OC\Files\Storage;
  */
 class Temporary extends Local{
        public function __construct($arguments) {
-               $this->datadir=\OC_Helper::tmpFolder();
+               parent::__construct(array('datadir' => \OC_Helper::tmpFolder()));
        }
 
        public function cleanUp() {