Code Duplication    Length = 9-13 lines in 2 locations

classes/Pods.php 2 locations

@@ 1651-1663 (lines=13) @@
1648
1649
								$no_conflict = true;
1650
1651
								if ( in_array( $object_type, array(
1652
									'post',
1653
									'taxonomy',
1654
									'user',
1655
									'comment',
1656
									'settings',
1657
								), true ) ) {
1658
									$no_conflict = pods_no_conflict_check( $object_type );
1659
1660
									if ( ! $no_conflict ) {
1661
										pods_no_conflict_on( $object_type );
1662
									}
1663
								}
1664
1665
								// Return entire array
1666
								if ( $is_field_output_full ) {
@@ 1805-1813 (lines=9) @@
1802
									}
1803
								}
1804
1805
								if ( ! $no_conflict && in_array( $object_type, array(
1806
										'post',
1807
										'taxonomy',
1808
										'user',
1809
										'comment',
1810
										'settings',
1811
									), true ) ) {
1812
									pods_no_conflict_off( $object_type );
1813
								}
1814
1815
								// Handle Simple Relationships
1816
								if ( $simple ) {