Code Duplication    Length = 12-12 lines in 2 locations

core/helpers/EEH_Activation.helper.php 2 locations

@@ 849-860 (lines=12) @@
846
				// add it
847
				switch ( $QSG_system ) {
848
849
					case 1:
850
							$QSG_values = array(
851
									'QSG_name' => __( 'Personal Information', 'event_espresso' ),
852
									'QSG_identifier' => 'personal-information-' . time(),
853
									'QSG_desc' => '',
854
									'QSG_order' => 1,
855
									'QSG_show_group_name' => 1,
856
									'QSG_show_group_desc' => 1,
857
									'QSG_system' => EEM_Question_Group::system_personal,
858
									'QSG_deleted' => 0
859
								);
860
						break;
861
862
					case 2:
863
							$QSG_values = array(
@@ 862-873 (lines=12) @@
859
								);
860
						break;
861
862
					case 2:
863
							$QSG_values = array(
864
									'QSG_name' => __( 'Address Information','event_espresso' ),
865
									'QSG_identifier' => 'address-information-' . time(),
866
									'QSG_desc' => '',
867
									'QSG_order' => 2,
868
									'QSG_show_group_name' => 1,
869
									'QSG_show_group_desc' => 1,
870
									'QSG_system' => EEM_Question_Group::system_address,
871
									'QSG_deleted' => 0
872
								);
873
						break;
874
875
				}
876
				// make sure we have some values before inserting them