)
);
}
// TODO Do we want to think about how to update the actual email address?
step("update name");
dump($bbGroup->getParamUpdateName(), "update-name");
if ($bbGroup->getParamUpdateName()) {
$gGroup = $directory->groups->get($bbGroup->getParamEmail());
if ($gGroup->getName() != $bbGroup->getName()) {
$gGroup->setName($bbGroup->getName());
dump($gGroup, "gGroup");
dump($directory->groups->update($gGroup->getId(), $gGroup));
}
}
}
}
step("complete");
https://github.com/groton-school/blackbaud-to-google-group-sync/blob/606c84759f7be57cf56db21ddbb5f58ee15f2cd0/public/sync.php#L200