comment debug log
This commit is contained in:
@@ -35,7 +35,7 @@ class GoogleCalendarService {
|
|||||||
);
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Log::debug('G-Calendar: Call google with #getCalendar for calendar with id: ' . $calendarId);
|
//Log::debug('G-Calendar: Call google with #getCalendar for calendar with id: ' . $calendarId);
|
||||||
$response = $this->service->events->listEvents($calendarId, $params);
|
$response = $this->service->events->listEvents($calendarId, $params);
|
||||||
|
|
||||||
Cache::put($this->cacheKeyCalendarGet.$calendarId, $response, $cacheTime);
|
Cache::put($this->cacheKeyCalendarGet.$calendarId, $response, $cacheTime);
|
||||||
@@ -56,7 +56,7 @@ class GoogleCalendarService {
|
|||||||
|
|
||||||
if(!isset($cachedCalendarList) || $cacheTime == 0) {
|
if(!isset($cachedCalendarList) || $cacheTime == 0) {
|
||||||
try {
|
try {
|
||||||
Log::debug('G-Calendar: Call google with #calendarList.');
|
//Log::debug('G-Calendar: Call google with #calendarList.');
|
||||||
$response = $this->service->calendarList->listCalendarList()->getItems();
|
$response = $this->service->calendarList->listCalendarList()->getItems();
|
||||||
|
|
||||||
Cache::put($this->cacheKeyCalendarList, $response, $cacheTime);
|
Cache::put($this->cacheKeyCalendarList, $response, $cacheTime);
|
||||||
|
|||||||
Reference in New Issue
Block a user