Code Duplication    Length = 9-13 lines in 2 locations

classes/Pods.php 2 locations

@@ 1668-1680 (lines=13) @@
1665
1666
								$no_conflict = true;
1667
1668
								if ( in_array( $object_type, array(
1669
									'post',
1670
									'taxonomy',
1671
									'user',
1672
									'comment',
1673
									'settings',
1674
								), true ) ) {
1675
									$no_conflict = pods_no_conflict_check( $object_type );
1676
1677
									if ( ! $no_conflict ) {
1678
										pods_no_conflict_on( $object_type );
1679
									}
1680
								}
1681
1682
								if ( $is_field_output_full ) {
1683
									// Return entire array.
@@ 1823-1831 (lines=9) @@
1820
									}//end foreach
1821
								}//end if
1822
1823
								if ( ! $no_conflict && in_array( $object_type, array(
1824
									'post',
1825
									'taxonomy',
1826
									'user',
1827
									'comment',
1828
									'settings',
1829
								), true ) ) {
1830
									pods_no_conflict_off( $object_type );
1831
								}
1832
1833
								// Handle Simple Relationships.
1834
								if ( $simple ) {