City worker reinstated after profanity-laced incident