From ad4ec414c9e1cf4ff8189040a132ec81bf1fd377 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Thu, 5 Jun 2014 21:00:50 +0200 Subject: use system function to recursive remove the directory used by temporary storage --- lib/private/files/storage/temporary.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/private') diff --git a/lib/private/files/storage/temporary.php b/lib/private/files/storage/temporary.php index d84dbda2e39..7547640f175 100644 --- a/lib/private/files/storage/temporary.php +++ b/lib/private/files/storage/temporary.php @@ -24,4 +24,8 @@ class Temporary extends Local{ parent::__destruct(); $this->cleanUp(); } + + public function getDataDir() { + return $this->datadir; + } } -- cgit v1.2.3