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

adding dtor to Local and revert call to it within Temporary
remotes/origin/stable5
Bernhard Posselt 12 years ago
commit e70aef603f
  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