Code Duplication    Length = 4-4 lines in 2 locations

classes/PodsAPI.php 2 locations

@@ 8352-8355 (lines=4) @@
8349
    public function __get ( $name ) {
8350
        $name = (string) $name;
8351
8352
        if ( !isset( $this->deprecated ) ) {
8353
            require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' );
8354
            $this->deprecated = new PodsAPI_Deprecated( $this );
8355
        }
8356
8357
        $var = null;
8358
@@ 8378-8381 (lines=4) @@
8375
    public function __call ( $name, $args ) {
8376
        $name = (string) $name;
8377
8378
        if ( !isset( $this->deprecated ) ) {
8379
            require_once( PODS_DIR . 'deprecated/classes/PodsAPI.php' );
8380
            $this->deprecated = new PodsAPI_Deprecated( $this );
8381
        }
8382
8383
        if ( method_exists( $this->deprecated, $name ) )
8384
            return call_user_func_array( array( $this->deprecated, $name ), $args );