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:
commit
e70aef603f
|
@ -23,6 +23,8 @@ class Local extends \OC\Files\Storage\Common{
|
||||||
$this->datadir.='/';
|
$this->datadir.='/';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public function __destruct() {
|
||||||
|
}
|
||||||
public function getId(){
|
public function getId(){
|
||||||
return 'local::'.$this->datadir;
|
return 'local::'.$this->datadir;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ class Temporary extends Local{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __destruct() {
|
public function __destruct() {
|
||||||
|
parent::__destruct();
|
||||||
$this->cleanUp();
|
$this->cleanUp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue