\OC::$server->getTempManager()->getTemporaryFolder()]); } public function cleanUp() { \OC_Helper::rmdirr($this->datadir); } public function __destruct() { parent::__destruct(); $this->cleanUp(); } public function getDataDir() { return $this->datadir; } }