diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 22:44:11 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-14 08:36:26 +0100 |
commit | 2d6d0a4ad438590504c13f04a6b2916a59a99c30 (patch) | |
tree | 219557660d50e4742fef8bcfc829b495e7e2b9c0 /lib/migration | |
parent | 26791238463fda41f8b5abdedb7164df63d1b766 (diff) | |
download | nextcloud-server-2d6d0a4ad438590504c13f04a6b2916a59a99c30.tar.gz nextcloud-server-2d6d0a4ad438590504c13f04a6b2916a59a99c30.zip |
Whitespace indent fixes
Diffstat (limited to 'lib/migration')
-rw-r--r-- | lib/migration/content.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/migration/content.php b/lib/migration/content.php index e81c8f217ff..d640bea4b9f 100644 --- a/lib/migration/content.php +++ b/lib/migration/content.php @@ -185,13 +185,13 @@ class OC_Migration_Content{ * @return bool */ public function addDir( $dir, $recursive=true, $internaldir='' ) { - $dirname = basename($dir); - $this->zip->addEmptyDir($internaldir . $dirname); - $internaldir.=$dirname.='/'; + $dirname = basename($dir); + $this->zip->addEmptyDir($internaldir . $dirname); + $internaldir.=$dirname.='/'; if( !file_exists( $dir ) ) { return false; } - if ($dirhandle = opendir($dir)) { + if ($dirhandle = opendir($dir)) { while (false !== ( $file = readdir($dirhandle))) { if (( $file != '.' ) && ( $file != '..' )) { @@ -204,11 +204,11 @@ class OC_Migration_Content{ } } closedir($dirhandle); - } else { + } else { OC_Log::write('admin_export', "Was not able to open directory: " . $dir, OC_Log::ERROR); return false; - } - return true; + } + return true; } /** |