Code Duplication    Length = 12-12 lines in 2 locations

core/helpers/EEH_Activation.helper.php 2 locations

@@ 867-878 (lines=12) @@
864
				// add it
865
				switch ( $QSG_system ) {
866
867
					case 1:
868
							$QSG_values = array(
869
									'QSG_name' => __( 'Personal Information', 'event_espresso' ),
870
									'QSG_identifier' => 'personal-information-' . time(),
871
									'QSG_desc' => '',
872
									'QSG_order' => 1,
873
									'QSG_show_group_name' => 1,
874
									'QSG_show_group_desc' => 1,
875
									'QSG_system' => EEM_Question_Group::system_personal,
876
									'QSG_deleted' => 0
877
								);
878
						break;
879
880
					case 2:
881
							$QSG_values = array(
@@ 880-891 (lines=12) @@
877
								);
878
						break;
879
880
					case 2:
881
							$QSG_values = array(
882
									'QSG_name' => __( 'Address Information','event_espresso' ),
883
									'QSG_identifier' => 'address-information-' . time(),
884
									'QSG_desc' => '',
885
									'QSG_order' => 2,
886
									'QSG_show_group_name' => 1,
887
									'QSG_show_group_desc' => 1,
888
									'QSG_system' => EEM_Question_Group::system_address,
889
									'QSG_deleted' => 0
890
								);
891
						break;
892
893
				}
894
				// make sure we have some values before inserting them