From aa14b7eef0b76e88e4796a44a39bdbd6c3dedc39 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 22 Jul 2016 21:51:50 +0200 Subject: [PATCH] Corrected Google_sync library name. --- src/application/controllers/Backend_api.php | 2 +- src/application/controllers/Google.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application/controllers/Backend_api.php b/src/application/controllers/Backend_api.php index 6c22c2d2..d41d1fdb 100644 --- a/src/application/controllers/Backend_api.php +++ b/src/application/controllers/Backend_api.php @@ -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']); } diff --git a/src/application/controllers/Google.php b/src/application/controllers/Google.php index f8eac117..f61665d7 100644 --- a/src/application/controllers/Google.php +++ b/src/application/controllers/Google.php @@ -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.