mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 15:21:00 -04:00
adding ctor to Local and revert call to it within Temporary
This commit is contained in:
parent
60411f7d3d
commit
e0da721a7d
2 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue