Skip to content
Snippets Groups Projects
Commit d7846ee4 authored by Prasad's avatar Prasad
Browse files

Merge branch 'googlecalfix' into 'master'

fix for #1677

This merge requests fixes a problem preventing google events to sync in vtiger.

See merge request !846
parents f103ea39 0d5a4bbd
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -142,7 +142,10 @@ Class Google_Calendar_Connector extends WSAPP_TargetConnector {
$this->client->setAccessToken($this->apiConnection->getAccessToken());
$this->service = new Google_Service_Calendar($this->client);
}
$query = array(
'maxResults' => $this->maxResults,
'singleEvents' => true,
);
if (Google_Utils_Helper::getSyncTime('Calendar', $user)) {
$query['updatedMin'] = $this->googleFormat(Google_Utils_Helper::getSyncTime('Calendar', $user));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment