Its ripe for confusion to have this logic split between two separate methods. This consolidation should make things easier to understand and hopefully, less issue prone. We don't really benefit from having two methods here anyway, as one is _only_ ever called by the other. It's also misleading that the second helper, in `toggles.py`, _also_ checks the FEATURE flag, as well as the waffle flag.
1.9 KiB
1.9 KiB