Issue #2842016 by martin107, joachim: Removed FlagService::getFlagFlaggings() and added equivalent to tests.