Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5644-5645 (lines=2) @@
5641
						'fields' => array()
5642
					);
5643
				}
5644
                elseif ( ! $bypass_cache & pods_api_cache() )
5645
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5646
5647
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5648
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5681-5682 (lines=2) @@
5678
5679
        $pod = false;
5680
5681
        if ( ! $bypass_cache || pods_api_cache() )
5682
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5683
5684
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5685
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )