From afd805ef3802e4609368742b502c145d5e0df45f Mon Sep 17 00:00:00 2001
From: Colan Schwartz <colan@58704.no-reply.drupal.org>
Date: Tue, 15 Nov 2016 09:23:54 -0500
Subject: [PATCH] Issue #2827791 by colan: Allow successful results even when
 warnings are generated.

---
 hosting_remote_import.sites_form.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hosting_remote_import.sites_form.inc b/hosting_remote_import.sites_form.inc
index e18cbbe..a791794 100644
--- a/hosting_remote_import.sites_form.inc
+++ b/hosting_remote_import.sites_form.inc
@@ -97,6 +97,7 @@ function hosting_remote_import_sites_form_submit_batch_wait_task($nid, &$context
         return;
       case HOSTING_TASK_QUEUED:
         break;
+      case HOSTING_TASK_WARNING:
       case HOSTING_TASK_SUCCESS:
         $context['message'] = 'Complete';
         $context['results']['final_vid'] = $task->vid;
-- 
2.7.4

