Skip to content

Commit df00a78

Browse files
chore: do not run import on Oboarding import draft creation
1 parent fcdaac0 commit df00a78

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3533,11 +3533,9 @@ private function wizard_import_feed() {
35333533
// Update wizard data.
35343534
$wizard_data['job_id'] = $job_id;
35353535
update_option( 'feedzy_wizard_data', $wizard_data );
3536-
3537-
$job = get_post( $job_id );
3538-
$count = $this->run_job( $job, 10 );
3536+
35393537
$response = array(
3540-
'status' => $count > 0,
3538+
'status' => true,
35413539
);
35423540
}
35433541
wp_send_json( $response );

0 commit comments

Comments
 (0)