Skip to content

Commit

Permalink
run the sync
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Aug 12, 2024
1 parent 5516dea commit a9705fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private function define_admin_hooks() {
$this->loader->add_action( 'save_post', $plugin_admin, 'set_event_year', 10, 3 );

// Example of how to run a sync locally on demand.
// $this->loader->add_action( 'init', $plugin_admin, 'sync_sched' ); //phpcs:ignore.
$this->loader->add_action( 'init', $plugin_admin, 'sync_sched' ); //phpcs:ignore.

// schedule KCD sync on lfeventsci.
if ( isset( $_ENV['PANTHEON_SITE_NAME'] ) && 'lfeventsci' === $_ENV['PANTHEON_SITE_NAME'] ) {
Expand Down

0 comments on commit a9705fb

Please sign in to comment.