diff options
author | Diederik de Haas <diederik@cknow.org> | 2012-11-10 00:53:28 +0100 |
---|---|---|
committer | Diederik de Haas <diederik@cknow.org> | 2012-11-10 00:53:28 +0100 |
commit | 20541c610e2e73cb5535902146e8379aa3165144 (patch) | |
tree | ce77c915b16abe80420109815bc10df6f0440f08 | |
parent | 6e6df6e410316b4df61237c862000492139eee3e (diff) | |
download | nextcloud-server-20541c610e2e73cb5535902146e8379aa3165144.tar.gz nextcloud-server-20541c610e2e73cb5535902146e8379aa3165144.zip |
Fixed new checkstyle issues in migrate.php from build #1341.
-rw-r--r-- | lib/migrate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php index ca74edcdc57..2cc0a3067b8 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -238,13 +238,13 @@ class OC_Migrate{ $userfolder = $extractpath . $json->exporteduser; $newuserfolder = $datadir . '/' . self::$uid; foreach(scandir($userfolder) as $file){ - if($file !== '.' && $file !== '..' && is_dir($file)){ + if($file !== '.' && $file !== '..' && is_dir($file)) { // Then copy the folder over OC_Helper::copyr($userfolder.'/'.$file, $newuserfolder.'/'.$file); } } // Import user app data - if(file_exists($extractpath . $json->exporteduser . '/migration.db')){ + if(file_exists($extractpath . $json->exporteduser . '/migration.db')) { if( !$appsimported = self::importAppData( $extractpath . $json->exporteduser . '/migration.db', $json, self::$uid ) ) { return json_encode( array( 'success' => false ) ); } |