Corrected Google_sync library name.
This commit is contained in:
parent
2a4e7efbe4
commit
aa14b7eef0
2 changed files with 2 additions and 2 deletions
|
@ -390,7 +390,7 @@ class Backend_api extends CI_Controller {
|
|||
if ($google_sync == TRUE) {
|
||||
$google_token = json_decode($this->providers_model
|
||||
->get_setting('google_token', $provider['id']));
|
||||
$this->load->library('Google_Sync');
|
||||
$this->load->library('Google_sync');
|
||||
$this->google_sync->refresh_token($google_token->refresh_token);
|
||||
$this->google_sync->delete_appointment($provider, $appointment['id_google_calendar']);
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ class Google extends CI_Controller {
|
|||
*/
|
||||
public function oauth_callback() {
|
||||
if (isset($_GET['code'])) {
|
||||
$this->load->library('Google_Sync');
|
||||
$this->load->library('Google_sync');
|
||||
$token = $this->google_sync->authenticate($_GET['code']);
|
||||
|
||||
// Store the token into the database for future reference.
|
||||
|
|
Loading…
Reference in a new issue