From 892343c7c11e7ba967f69174820a501b3954badb Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Wed, 21 Mar 2012 16:30:59 +0000 Subject: Fix instance import --- lib/migrate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/migrate.php') diff --git a/lib/migrate.php b/lib/migrate.php index 8b0a2aa3f74..718dc57b9f3 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -208,7 +208,7 @@ class OC_Migrate{ return false; } $json = json_decode( file_get_contents( $extractpath . 'export_info.json' ) ); - if( !$json->exporttype != $type ){ + if( $json->exporttype != $type ){ OC_Log::write( 'migration', 'Invalid import file', OC_Log::ERROR ); return false; } -- cgit v1.2.3