From de7e419610d3fde8a16367776279d76837a0ee62 Mon Sep 17 00:00:00 2001 From: Valerio Ponte Date: Tue, 30 Oct 2012 23:37:31 +0100 Subject: Fixed style according to owncloud styleguide --- lib/helper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/helper.php') diff --git a/lib/helper.php b/lib/helper.php index b5e2b8a0d4e..339a12dc1ed 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -534,8 +534,9 @@ class OC_Helper { public static function tmpFileNoClean($postfix='') { $tmpDirNoClean=get_temp_dir().'/oc-noclean/'; if (!file_exists($tmpDirNoClean) || !is_dir($tmpDirNoClean)) { - if (file_exists($tmpDirNoClean)) + if (file_exists($tmpDirNoClean)) { unlink($tmpDirNoClean); + } mkdir($tmpDirNoClean); } $file=$tmpDirNoClean.md5(time().rand()).$postfix; -- cgit v1.2.3