Code Duplication    Length = 7-7 lines in 2 locations

admin/class-yikes-inc-easy-mailchimp-extender-admin.php 2 locations

@@ 2510-2516 (lines=7) @@
2507
			*/
2508
			do_action( 'yikes-mailchimp-after-duplicating-form', $post_id_to_clone, $result, $form_data );
2509
2510
			if ( false === $result ) {
2511
				// redirect the user to the manage forms page, display error
2512
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&duplicated-form=false' ) ) );
2513
			} else {
2514
				// redirect the user to the manage forms page, display confirmation
2515
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&duplicated-form=true' ) ) );
2516
			}
2517
2518
			exit();
2519
		}
@@ 2541-2547 (lines=7) @@
2538
				)
2539
			);
2540
2541
			if ( false === $result ) {
2542
				// redirect the user to the manage forms page, display error
2543
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&reset-stats=false' ) ) );
2544
			} else {
2545
				// redirect the user to the manage forms page, display confirmation
2546
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&reset-stats=true' ) ) );
2547
			}
2548
2549
			exit();
2550
		}