mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 09:22:33 +08:00

I was combing through some of the files with worse grades on Code Climate as a guide for places where I could jump in and help, and I saw this as one of the ones in need of some love. I reduced duplication in the #user_list_export method by extracting several methods that were common to both branches of the logic in that method.