@@ -185,6 +185,9 @@ discard block |
||
185 | 185 | do_action( 'jetpack_full_sync_end', '', $range ); |
186 | 186 | } |
187 | 187 | |
188 | + /** |
|
189 | + * @param string $type |
|
190 | + */ |
|
188 | 191 | function get_range( $type ) { |
189 | 192 | global $wpdb; |
190 | 193 | if ( ! in_array( $type, array( 'comments', 'posts' ) ) ) { |
@@ -323,6 +326,9 @@ discard block |
||
323 | 326 | $listener->get_full_sync_queue()->reset(); |
324 | 327 | } |
325 | 328 | |
329 | + /** |
|
330 | + * @param integer $default |
|
331 | + */ |
|
326 | 332 | private function get_status_option( $name, $default = null ) { |
327 | 333 | $value = Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default ); |
328 | 334 |