adding ctor to Local and revert call to it within Temporary

This commit is contained in:
Thomas Müller 2013-02-09 17:16:13 +01:00
parent 60411f7d3d
commit e0da721a7d
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class Local extends \OC\Files\Storage\Common{
$this->datadir.='/';
}
}
public function __destruct() {
}
public function getId(){
return 'local::'.$this->datadir;
}

View File

@ -21,6 +21,7 @@ class Temporary extends Local{
}
public function __destruct() {
parent::__destruct();
$this->cleanUp();
}
}