Code Duplication    Length = 12-12 lines in 2 locations

core/helpers/EEH_Activation.helper.php 2 locations

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