Code Duplication    Length = 9-10 lines in 2 locations

sync/class.jetpack-sync-wp-replicastore.php 2 locations

@@ 651-660 (lines=10) @@
648
					$columns  = Jetpack_Sync_Defaults::$default_post_checksum_columns;
649
				}
650
				break;
651
			case "post_meta":
652
				$object_table = $wpdb->postmeta;
653
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_post_meta_sql();
654
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
655
				$id_field     = 'meta_id';
656
657
				if ( empty( $columns ) ) {
658
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
659
				}
660
				break;
661
			case "comments":
662
				$object_count = $this->comment_count( null, $start_id, $end_id );
663
				$object_table = $wpdb->comments;
@@ 670-678 (lines=9) @@
667
					$columns  = Jetpack_Sync_Defaults::$default_comment_checksum_columns;
668
				}
669
				break;
670
			case "comment_meta":
671
				$object_table = $wpdb->commentmeta;
672
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_comment_meta_sql();
673
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
674
				$id_field     = 'meta_id';
675
				if ( empty( $columns ) ) {
676
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
677
				}
678
				break;
679
			default:
680
				return false;
681
		}