Code Duplication    Length = 9-13 lines in 2 locations

classes/Pods.php 2 locations

@@ 1654-1666 (lines=13) @@
1651
1652
								$no_conflict = true;
1653
1654
								if ( in_array( $object_type, array(
1655
									'post',
1656
									'taxonomy',
1657
									'user',
1658
									'comment',
1659
									'settings',
1660
								), true ) ) {
1661
									$no_conflict = pods_no_conflict_check( $object_type );
1662
1663
									if ( ! $no_conflict ) {
1664
										pods_no_conflict_on( $object_type );
1665
									}
1666
								}
1667
1668
								if ( $is_field_output_full ) {
1669
									// Return entire array.
@@ 1809-1817 (lines=9) @@
1806
									}//end foreach
1807
								}//end if
1808
1809
								if ( ! $no_conflict && in_array( $object_type, array(
1810
									'post',
1811
									'taxonomy',
1812
									'user',
1813
									'comment',
1814
									'settings',
1815
								), true ) ) {
1816
									pods_no_conflict_off( $object_type );
1817
								}
1818
1819
								// Handle Simple Relationships.
1820
								if ( $simple ) {