Code Duplication    Length = 9-10 lines in 2 locations

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

@@ 630-639 (lines=10) @@
627
					$columns  = Jetpack_Sync_Defaults::$default_post_checksum_columns;
628
				}
629
				break;
630
			case "post_meta":
631
				$object_table = $wpdb->postmeta;
632
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_post_meta_sql();
633
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
634
				$id_field     = 'meta_id';
635
				
636
				if ( empty( $columns ) ) {
637
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
638
				}
639
				break;
640
			case "comments":
641
				$object_count = $this->comment_count( null, $start_id, $end_id );
642
				$object_table = $wpdb->comments;
@@ 649-657 (lines=9) @@
646
					$columns  = Jetpack_Sync_Defaults::$default_comment_checksum_columns;
647
				}
648
				break;
649
			case "comment_meta":
650
				$object_table = $wpdb->commentmeta;
651
				$where_sql    = Jetpack_Sync_Settings::get_whitelisted_comment_meta_sql();
652
				$object_count = $this->meta_count( $object_table, $where_sql, $start_id, $end_id );
653
				$id_field     = 'meta_id';
654
				if ( empty( $columns ) ) {
655
					$columns  = Jetpack_Sync_Defaults::$default_post_meta_checksum_columns;
656
				}
657
				break;
658
			default:
659
				return false;
660
		}