diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 08:42:49 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:29:43 +0200 |
commit | 0e58800016419daf3b2d032136415a5fe9d6331f (patch) | |
tree | c842a8c9104b3c9f2ceab2d505fe01a25f7d0dda /apps/files_sharing/appinfo/update.php | |
parent | 52f2e7112ea985203eca16aa787bd75a7cf92194 (diff) | |
download | nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.tar.gz nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.zip |
Whitespace fixes in apps
Diffstat (limited to 'apps/files_sharing/appinfo/update.php')
-rw-r--r-- | apps/files_sharing/appinfo/update.php | 16 |
1 files changed, 8 insertions, 8 deletions
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 |