@@ -194,6 +194,9 @@ discard block |
||
194 | 194 | do_action( 'jetpack_full_sync_end', '', $range ); |
195 | 195 | } |
196 | 196 | |
197 | + /** |
|
198 | + * @param string $type |
|
199 | + */ |
|
197 | 200 | function get_range( $type ) { |
198 | 201 | global $wpdb; |
199 | 202 | if ( ! in_array( $type, array( 'comments', 'posts' ) ) ) { |
@@ -404,6 +407,9 @@ discard block |
||
404 | 407 | $listener->get_full_sync_queue()->reset(); |
405 | 408 | } |
406 | 409 | |
410 | + /** |
|
411 | + * @param integer $default |
|
412 | + */ |
|
407 | 413 | private function get_status_option( $name, $default = null ) { |
408 | 414 | $value = \Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default ); |
409 | 415 |