Google_Calendar_Helpers::disconnect_client()

Method disconnect_client.


Description Description

Deletes all Google Calendar transients and option.


Top ↑

Return Return

(boolean) True.


Source Source

File: src/integrations/google-calendar/helpers/google-calendar-helpers.php

	public function disconnect_client() {

		delete_transient( 'automator_google_calendar_calendar_list' );

		delete_transient( 'automator_google_calendar_user_info' );

		delete_option( self::OPTION_KEY );

		return true;

	}