groton-school/blackbaud-to-google-group-sync

Do we want to think about how to update the actual email address?

github-actions opened this issue · 1 comments

// TODO Do we want to think about how to update the actual email address?

                    )
                );
            }

            // 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");