Code Duplication    Length = 12-12 lines in 2 locations

core/helpers/EEH_Activation.helper.php 2 locations

@@ 883-894 (lines=12) @@
880
				// add it
881
				switch ( $QSG_system ) {
882
883
					case 1:
884
							$QSG_values = array(
885
									'QSG_name' => __( 'Personal Information', 'event_espresso' ),
886
									'QSG_identifier' => 'personal-information-' . time(),
887
									'QSG_desc' => '',
888
									'QSG_order' => 1,
889
									'QSG_show_group_name' => 1,
890
									'QSG_show_group_desc' => 1,
891
									'QSG_system' => EEM_Question_Group::system_personal,
892
									'QSG_deleted' => 0
893
								);
894
						break;
895
896
					case 2:
897
							$QSG_values = array(
@@ 896-907 (lines=12) @@
893
								);
894
						break;
895
896
					case 2:
897
							$QSG_values = array(
898
									'QSG_name' => __( 'Address Information','event_espresso' ),
899
									'QSG_identifier' => 'address-information-' . time(),
900
									'QSG_desc' => '',
901
									'QSG_order' => 2,
902
									'QSG_show_group_name' => 1,
903
									'QSG_show_group_desc' => 1,
904
									'QSG_system' => EEM_Question_Group::system_address,
905
									'QSG_deleted' => 0
906
								);
907
						break;
908
909
				}
910
				// make sure we have some values before inserting them