1. They quickly and clearly told the employee of the problem.
2. They proposed a course of action
3. Their proposal worked (at the end they were happy with his work).
It was not pleasant for sure (for both sides, I bet), but would it be worse to say nothing and terminate him for non performance in a couple of extra months. My 2c.