removed ids from the json again
parent
2ce0ac2f7d
commit
2dc21ca3ce
|
@ -31,7 +31,7 @@
|
||||||
. '?singleEvents=true'
|
. '?singleEvents=true'
|
||||||
. '&orderBy=startTime'
|
. '&orderBy=startTime'
|
||||||
. '&timeMin=' . date( 'Y-m-d' ) . 'T' . date( 'H' ) . '%3A' . date( 'i' ) . '%3A' . date( 's' ) . '%2B01%3A00'
|
. '&timeMin=' . date( 'Y-m-d' ) . 'T' . date( 'H' ) . '%3A' . date( 'i' ) . '%3A' . date( 's' ) . '%2B01%3A00'
|
||||||
. '&fields=description%2Citems(description%2Crecurrence%2Csummary%2Clocation%2Cstart%2Cend%2Cid)%2Csummary'
|
. '&fields=description%2Citems(description%2Crecurrence%2Csummary%2Clocation%2Cstart%2Cend)%2Csummary'
|
||||||
. '&key=' . $app[ 'google' ][ 'api_key' ];
|
. '&key=' . $app[ 'google' ][ 'api_key' ];
|
||||||
|
|
||||||
return Helpers::JSON2Array( $googleCalendarJson );
|
return Helpers::JSON2Array( $googleCalendarJson );
|
||||||
|
@ -132,7 +132,6 @@
|
||||||
|
|
||||||
$event = self::getEventDateTime( $googleEvent );
|
$event = self::getEventDateTime( $googleEvent );
|
||||||
|
|
||||||
$event[ 'id' ] = $googleEvent[ 'id' ];
|
|
||||||
$event[ 'name' ] = $googleEvent[ 'summary' ];
|
$event[ 'name' ] = $googleEvent[ 'summary' ];
|
||||||
|
|
||||||
if ( array_key_exists( 'location' , $googleEvent ) ){
|
if ( array_key_exists( 'location' , $googleEvent ) ){
|
||||||
|
|
Loading…
Reference in New Issue