@@ -196,6 +196,9 @@ discard block |
||
196 | 196 | return $response; |
197 | 197 | } |
198 | 198 | |
199 | + /** |
|
200 | + * @param string $new_version |
|
201 | + */ |
|
199 | 202 | static function do_initial_sync( $new_version = null, $old_version = null, $network_site = false ) { |
200 | 203 | $initial_sync_config = self::get_update_full_sync_config(); |
201 | 204 | $include_users = false; |
@@ -363,6 +366,9 @@ discard block |
||
363 | 366 | return self::DEFAULT_SYNC_CRON_INTERVAL_NAME; |
364 | 367 | } |
365 | 368 | |
369 | + /** |
|
370 | + * @param string $hook |
|
371 | + */ |
|
366 | 372 | static function maybe_schedule_sync_cron( $schedule, $hook ) { |
367 | 373 | if ( ! $hook ) { |
368 | 374 | return; |