Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5553-5554 (lines=2) @@
5550
						'fields' => array()
5551
					);
5552
				}
5553
                elseif ( ! $bypass_cache & pods_api_cache() )
5554
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5555
5556
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5557
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5590-5591 (lines=2) @@
5587
5588
        $pod = false;
5589
5590
        if ( ! $bypass_cache || pods_api_cache() )
5591
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5592
5593
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5594
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )