Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2504-2510 (lines=7) @@
2501
			*/
2502
			do_action( 'yikes-mailchimp-after-duplicating-form', $post_id_to_clone, $result, $form_data );
2503
2504
			if ( false === $result ) {
2505
				// redirect the user to the manage forms page, display error
2506
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&duplicated-form=false' ) ) );
2507
			} else {
2508
				// redirect the user to the manage forms page, display confirmation
2509
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&duplicated-form=true' ) ) );
2510
			}
2511
2512
			exit();
2513
		}
@@ 2535-2541 (lines=7) @@
2532
				)
2533
			);
2534
2535
			if ( false === $result ) {
2536
				// redirect the user to the manage forms page, display error
2537
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&reset-stats=false' ) ) );
2538
			} else {
2539
				// redirect the user to the manage forms page, display confirmation
2540
				wp_redirect( esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp&reset-stats=true' ) ) );
2541
			}
2542
2543
			exit();
2544
		}