Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsComponents.php 2 locations

@@ 310-311 (lines=2) @@
307
    public function get_components () {
308
        $components = pods_transient_get( 'pods_components' );
309
310
        if ( 1 == pods_var( 'pods_debug_components', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) )
311
            $components = array();
312
313
        if ( PodsInit::$version != PODS_VERSION || !is_array( $components ) || empty( $components ) || ( is_admin() && isset( $_GET[ 'page' ] ) && 'pods-components' == $_GET[ 'page' ] && 1 !== pods_transient_get( 'pods_components_refresh' ) ) ) {
314
            do_action( 'pods_components_get' );
@@ 448-449 (lines=2) @@
445
            pods_transient_set( 'pods_components', $components );
446
        }
447
448
        if ( 1 == pods_var( 'pods_debug_components', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) )
449
            pods_debug( $components );
450
451
        $this->components = $components;
452