summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 17:16:13 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 17:16:13 +0100
commite0da721a7dd51cf939f0aed533d5d0fa0fa8f74e (patch)
tree448e371d2c61df72b3fbde45b0609983d930014d /lib/files
parent60411f7d3d676e4ed83262b1066e7ce4a7dc904f (diff)
downloadnextcloud-server-e0da721a7dd51cf939f0aed533d5d0fa0fa8f74e.tar.gz
nextcloud-server-e0da721a7dd51cf939f0aed533d5d0fa0fa8f74e.zip
adding ctor to Local and revert call to it within Temporary
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/storage/local.php2
-rw-r--r--lib/files/storage/temporary.php1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php
index d387a898320..9fe01135866 100644
--- a/lib/files/storage/local.php
+++ b/lib/files/storage/local.php
@@ -23,6 +23,8 @@ class Local extends \OC\Files\Storage\Common{
$this->datadir.='/';
}
}
+ public function __destruct() {
+ }
public function getId(){
return 'local::'.$this->datadir;
}
diff --git a/lib/files/storage/temporary.php b/lib/files/storage/temporary.php
index 542d2cd9f48..d84dbda2e39 100644
--- a/lib/files/storage/temporary.php
+++ b/lib/files/storage/temporary.php
@@ -21,6 +21,7 @@ class Temporary extends Local{
}
public function __destruct() {
+ parent::__destruct();
$this->cleanUp();
}
}