diff --git a/application/controllers/Caldav.php b/application/controllers/Caldav.php index c6c83ccf..2e9d9257 100644 --- a/application/controllers/Caldav.php +++ b/application/controllers/Caldav.php @@ -365,6 +365,8 @@ class Caldav extends EA_Controller $this->providers_model->save($provider); + $this->appointments_model->clear_caldav_sync_ids($provider_id); + json_response([ 'success' => true, ]);