diff options
author | Valerio Ponte <valerio.ponte@gmail.com> | 2012-10-30 23:37:31 +0100 |
---|---|---|
committer | Valerio Ponte <valerio.ponte@gmail.com> | 2012-11-14 20:10:20 +0100 |
commit | de7e419610d3fde8a16367776279d76837a0ee62 (patch) | |
tree | 2b21989e8c7eb2a7d52781e8c68b78ab3a500eff /lib/helper.php | |
parent | 8e190a5a97fd2be24370aa8d3f21b7641506ae92 (diff) | |
download | nextcloud-server-de7e419610d3fde8a16367776279d76837a0ee62.tar.gz nextcloud-server-de7e419610d3fde8a16367776279d76837a0ee62.zip |
Fixed style according to owncloud styleguide
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 3 |
1 files changed, 2 insertions, 1 deletions
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; |