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

Sync entries in Blackbaud LMS Advanced Lists (potentially of community groups) to Google Groups
GNU General Public License v3.0
0 stars 0 forks source link

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

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 2 years ago

https://github.com/groton-school/blackbaud-to-google-group-sync/blob/606c84759f7be57cf56db21ddbb5f58ee15f2cd0/public/sync.php#L200


                    )
                );
            }

            // 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");
github-actions[bot] commented 1 year ago

Closed in c9133ca943a883ea1cbf1ea1b6b8a377c828fdd7