Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 5506-5507 (lines=2) @@
5503
						'fields' => array()
5504
					);
5505
				}
5506
                elseif ( ! $bypass_cache & pods_api_cache() )
5507
                    $pod = pods_transient_get( $transient . '_' . $params->name );
5508
5509
                if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5510
                    if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) ) && did_action( 'wpml_loaded' )
@@ 5543-5544 (lines=2) @@
5540
5541
        $pod = false;
5542
5543
        if ( ! $bypass_cache || pods_api_cache() )
5544
            $pod = pods_transient_get( $transient . '_' . $_pod[ 'post_name' ] );
5545
5546
        if ( false !== $pod && ( ! $table_info || isset( $pod[ 'table' ] ) ) ) {
5547
            if ( in_array( $pod[ 'type' ], array( 'post_type', 'taxonomy' ) )