Use UserGroupManager::listAllGroups() instead of User::getAllGroups()
Use UserGroupManager::listAllGroups() instead of User::getAllGroups()

User::getAllGroups() has deprecated since 1.35.

nbdd0121/MW-FlowThread,nbdd0121/MW-FlowThread