Revert "Clarify some code in toggleLegacyMode()"

This reverts commit cd8fe650578098c6778ed77708ba446e7fa43770.

I accidentally did a commit -a including undesired files.