From 0e58800016419daf3b2d032136415a5fe9d6331f Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 29 Aug 2012 08:42:49 +0200 Subject: Whitespace fixes in apps --- apps/files_sharing/appinfo/update.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/files_sharing/appinfo') diff --git a/apps/files_sharing/appinfo/update.php b/apps/files_sharing/appinfo/update.php index b43269d69f7..feafa5fb992 100644 --- a/apps/files_sharing/appinfo/update.php +++ b/apps/files_sharing/appinfo/update.php @@ -4,13 +4,13 @@ $datadir = \OCP\Config::getSystemValue('datadirectory'); $currentVersion=OC_Appconfig::getValue('files_sharing', 'installed_version'); if (version_compare($currentVersion, '0.2.2', '<')) { - if ($handle = opendir($datadir)) { - while (false !== ($entry = readdir($handle))) { - $sharedFolder = $datadir.'/'.$entry.'/files/Shared'; - if ($entry != "." && $entry != ".." && is_dir($sharedFolder)) { - touch($sharedFolder); - } - } - closedir($handle); + if ($handle = opendir($datadir)) { + while (false !== ($entry = readdir($handle))) { + $sharedFolder = $datadir.'/'.$entry.'/files/Shared'; + if ($entry != "." && $entry != ".." && is_dir($sharedFolder)) { + touch($sharedFolder); + } + } + closedir($handle); } } \ No newline at end of file -- cgit v1.2.3