Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 8574-8577 (lines=4) @@
8571
    public function __get ( $name ) {
8572
        $name = (string) $name;
8573
8574
        if ( !isset( $this->deprecated ) ) {
8575
            require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' );
8576
            $this->deprecated = new PodsAPI_Deprecated( $this );
8577
        }
8578
8579
        $var = null;
8580
@@ 8600-8603 (lines=4) @@
8597
    public function __call ( $name, $args ) {
8598
        $name = (string) $name;
8599
8600
        if ( !isset( $this->deprecated ) ) {
8601
            require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' );
8602
            $this->deprecated = new PodsAPI_Deprecated( $this );
8603
        }
8604
8605
        if ( method_exists( $this->deprecated, $name ) )
8606
            return call_user_func_array( array( $this->deprecated, $name ), $args );