Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsAPI.php 2 locations

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