This revision log doesn't make sense to me:
As I understand it: The OP asked question, then OP found a solution by himself and edited the question, adding the solution (which wasn't smart, I agree).
Then the moderator deleted the solution (which is OK) but instead of adding it as an answer, he closed the question. Now the solution will be very hard to find.
That doesn't make sense to me.