Skip to content

Commit

Permalink
add deleting file json
Browse files Browse the repository at this point in the history
  • Loading branch information
iltempe committed Oct 4, 2015
1 parent 0de6f3c commit b678371
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions GoogleCalendar/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
Google_Service_Calendar::CALENDAR)
));


//data getter
$data=new getdata();

Expand Down Expand Up @@ -73,7 +72,7 @@ function getClient() {

//credenziali memorizzate
define('CREDENTIALS_PATH', 'credential.json');
unlink('credential.json');
$client = new Google_Client();
$client->setApplicationName(APPLICATION_NAME);
$client->setScopes(SCOPES);
Expand Down

0 comments on commit b678371

Please sign in to comment.