@@ -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' ) ) ) { |
@@ -320,6 +323,9 @@ discard block |
||
320 | 323 | $listener->get_full_sync_queue()->reset(); |
321 | 324 | } |
322 | 325 | |
326 | + /** |
|
327 | + * @param integer $default |
|
328 | + */ |
|
323 | 329 | private function get_status_option( $name, $default = null ) { |
324 | 330 | $value = Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default ); |
325 | 331 |