Skip to content

Commit

Permalink
event update
Browse files Browse the repository at this point in the history
  • Loading branch information
manikantakailasa committed Apr 29, 2024
1 parent 9465eaa commit e1fb8fc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions includes/Services/InstaMigrateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use InstaWP\Connect\Helpers\Helper;
use InstaWP\Connect\Helpers\Installer;
use NewfoldLabs\WP\Module\Migration\Services\EventService;

/**
* Class InstaMigrateService
Expand Down Expand Up @@ -57,15 +56,7 @@ public function install_instawp_connect() {
);
}
}
$currentURL = $_SERVER['REQUEST_URI'];
$event = [
"category" => "wonder_start",
"action" => "migration_initiated",
"data" => [
"page"=> $currentURL
]
];
EventService::send( $event );

// Ready to start the migration
if ( function_exists( 'instawp' ) ) {
// Check if there is a connect ID
Expand Down

0 comments on commit e1fb8fc

Please sign in to comment.