Code Duplication    Length = 9-10 lines in 2 locations

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

@@ 618-627 (lines=10) @@
615
					$columns  = Jetpack_Sync_Defaults::$default_post_checksum_columns;
616
				}
617
				break;
618
			case "post_meta":
619
				$object_table = $wpdb->postmeta;
620
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_post_meta_sql();
621
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
622
				$id_field     = 'meta_id';
623
				
624
				if ( empty( $columns ) ) {
625
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
626
				}
627
				break;
628
			case "comments":
629
				$object_count = $this->comment_count( null, $start_id, $end_id );
630
				$object_table = $wpdb->comments;
@@ 637-645 (lines=9) @@
634
					$columns  = Jetpack_Sync_Defaults::$default_comment_checksum_columns;
635
				}
636
				break;
637
			case "comment_meta":
638
				$object_table = $wpdb->commentmeta;
639
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_comment_meta_sql();
640
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
641
				$id_field     = 'meta_id';
642
				if ( empty( $columns ) ) {
643
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
644
				}
645
				break;
646
			default:
647
				return false;
648
		}