From 52d77afd02210d82e21956624670dd693b118817 Mon Sep 17 00:00:00 2001 From: manikantakailasa Date: Tue, 30 Apr 2024 11:36:41 +0530 Subject: [PATCH] fail conditon added --- includes/Migration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Migration.php b/includes/Migration.php index 751df2d..7760b78 100644 --- a/includes/Migration.php +++ b/includes/Migration.php @@ -82,7 +82,7 @@ public function delete_plugin( $file ) { 'data' => array(), ); EventService::send( $event ); - } else { + } elseif ( 'failed' === $isMigrationCompleted ) { $event = array( 'category' => 'wonder_start', 'action' => 'migration_failed',