Skip to content
Snippets Groups Projects
Commit e0da721a authored by Thomas Müller's avatar Thomas Müller
Browse files

adding ctor to Local and revert call to it within Temporary

parent 60411f7d
Branches
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ class Local extends \OC\Files\Storage\Common{
$this->datadir.='/';
}
}
public function __destruct() {
}
public function getId(){
return 'local::'.$this->datadir;
}
......
......@@ -21,6 +21,7 @@ class Temporary extends Local{
}
public function __destruct() {
parent::__destruct();
$this->cleanUp();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment