Merge pull request #1573 from owncloud/fixing-ctor-local-storage-master

adding dtor to Local and revert call to it within Temporary
This commit is contained in:
Bernhard Posselt 2013-02-11 04:40:54 -08:00
commit e70aef603f
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();
}
}