adding ctor to Local and revert call to it within Temporary

remotes/origin/stable5
Thomas Müller 12 years ago
parent 60411f7d3d
commit e0da721a7d
  1. 2
      lib/files/storage/local.php
  2. 1
      lib/files/storage/temporary.php

@ -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…
Cancel
Save