Hopefully, but there was this ambiguity in the actual translation as well - I'm pretty sure she says she "takes out" (removes from the recipe) the onions, since indeed both onions and garlic are harmful to cats. (Accidentally giving them just a very little bit just once shouldn't be a problem, but it shouldn't be intentionally given to them)
-Edit-
Either way, thank you to the team for the translation work.