Skip to content
Snippets Groups Projects
Commit 0d5a4bbd authored by angelo paglialonga's avatar angelo paglialonga
Browse files

fix for #1677

parent f103ea39
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