The patients were randomized into two groups , one of which received perioperative antibiotics for twenty-four hours ( twenty-four-hour group ) and the other of which received antibiotics for the duration that the drain was in place ( drain-duration group ) .