Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsMigrate.php 2 locations

@@ 863-864 (lines=2) @@
860
                $data[ 'table' ] = $data[ 'pod' ][ 'name' ];
861
862
            if ( $data[ 'reset' ] === true ) {
863
                if ( false !== $output )
864
                    echo "<br />" . date( 'Y-m-d h:i:sa' ) . " - <em>" . $data[ 'pod' ][ 'name' ] . "</em> - <strong style='color:blue;'>Resetting Pod: " . $data[ 'pod' ][ 'name' ] . "</strong>\n";
865
866
                $api->reset_pod( array( 'id' => $data[ 'pod' ][ 'id' ], 'name' => $data[ 'pod' ][ 'name' ] ) );
867
            }
@@ 887-888 (lines=2) @@
884
            if ( false !== $output )
885
                echo "<br />" . date( 'Y-m-d h:i:sa' ) . " - <em>" . $data[ 'pod' ][ 'name' ] . "</em> - Getting Results: " . $data[ 'pod' ][ 'name' ] . "\n";
886
887
            if ( false !== $output )
888
                echo "<br />" . date( 'Y-m-d h:i:sa' ) . " - <em>" . $data[ 'pod' ][ 'name' ] . "</em> - Using Query: <small><code>" . $data[ 'sql' ] . "</code></small>\n";
889
890
            $result = $wpdb->get_results( $data[ 'sql' ], ARRAY_A );
891