diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:34:44 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:34:44 +0200 |
commit | db18218a1bba86e364fd4fec08c2e1a0eb4e7b16 (patch) | |
tree | cfa630c22ea74e3d6bd6258b78776a1d8b5c84bd /apps/files_versions/appinfo/update.php | |
parent | 9e32e0730644a4340b2f88b0d8750fd1f8e8903a (diff) | |
download | nextcloud-server-db18218a1bba86e364fd4fec08c2e1a0eb4e7b16.tar.gz nextcloud-server-db18218a1bba86e364fd4fec08c2e1a0eb4e7b16.zip |
Space before tab fixes
Diffstat (limited to 'apps/files_versions/appinfo/update.php')
-rw-r--r-- | apps/files_versions/appinfo/update.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/apps/files_versions/appinfo/update.php b/apps/files_versions/appinfo/update.php index e289b927b3c..52a4850758a 100644 --- a/apps/files_versions/appinfo/update.php +++ b/apps/files_versions/appinfo/update.php @@ -5,12 +5,11 @@ $installedVersion=OCP\Config::getAppValue('files_versions', 'installed_version') if (version_compare($installedVersion, '1.0.2', '<')) { $users = \OCP\User::getUsers(); $datadir = \OCP\Config::getSystemValue('datadirectory').'/'; - foreach ($users as $user) { - $oldPath = $datadir.$user.'/versions'; - $newPath = $datadir.$user.'/files_versions'; - if(is_dir($oldPath)) { - rename($oldPath, $newPath); - } - } - + foreach ($users as $user) { + $oldPath = $datadir.$user.'/versions'; + $newPath = $datadir.$user.'/files_versions'; + if(is_dir($oldPath)) { + rename($oldPath, $newPath); + } + } } |