Here is the Question the got reopened: Eating onions can harm Angels?
The mod was correct when he closed it for being a dup. although it is about Onion, the answer is clearly in this question "Eating garlic before visiting the masjid - ambiguous hadith"
Ok, let's say closing it as a duplicate was not a wise decision. Why was it edited without even consulting with OP nor informing him about the edit?
Please don't do this again. if you insist on doing this, then please read these before trying to edit something not written by you: