Code Duplication    Length = 3-3 lines in 2 locations

classes/PodsMeta.php 2 locations

@@ 1264-1266 (lines=3) @@
1261
1262
		if ( ! is_object( self::$current_pod ) || self::$current_pod->pod !== $post->post_type ) {
1263
			self::$current_pod = pods( $post->post_type, $id, true );
1264
		} elseif ( is_object( self::$current_pod ) && (int) self::$current_pod->id() !== (int) $id ) {
1265
			self::$current_pod->fetch( $id );
1266
		}
1267
1268
		$pod  = self::$current_pod;
1269
		$data = array();
@@ 1819-1821 (lines=3) @@
1816
1817
		if ( ! is_object( self::$current_pod ) || self::$current_pod->pod !== 'user' ) {
1818
			self::$current_pod = pods( 'user', $id, true );
1819
		} elseif ( is_object( self::$current_pod ) && (int) self::$current_pod->id() !== (int) $id ) {
1820
			self::$current_pod->fetch( $id );
1821
		}
1822
1823
		$pod  = self::$current_pod;
1824
		$data = array();