Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch operations no longer work as of August 12, 2020 #16

Open
bhahumanists opened this issue Aug 14, 2020 · 0 comments
Open

Batch operations no longer work as of August 12, 2020 #16

bhahumanists opened this issue Aug 14, 2020 · 0 comments

Comments

@bhahumanists
Copy link

As per the google notification, the batch endpoints are now disabled

Fix is to:

  1. Update to the latest Google API PHP Client
  2. Update the include paths at the top of googlegroup.php
  3. In civicrm_api3_googlegroup_deletemember and civicrm_api3_googlegroup_subscribe, replace:
    $batch = new Google_Http_Batch($client);
    $service = new Google_Service_Directory($client);

with:

    $service = new Google_Service_Directory($client);
    $batch = new Google_Http_Batch($client, false, null, $service->batchPath);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants