After pulling out of UFC 219 on less than one weeks’ notice due to an infected wisdom tooth, John Lineker underwent surgery today in Brazil to help repair the issue.

Although the significance of the infection was greater than originally diagnosed, Lineker (30-8 MMA, 11-3 UFC) was able to get the required procedure without issue, according to manager Alex Davis.

“He had a successful operation today,” Davis told MMAjunkie. “We pumped him with antibiotics in Brazil and in Las Vegas. We thought in the beginning the infection would go down and we could go in drain it and it would be fine. It didn’t happen that way. We took him to the dentist in Brazil, we took him here to Dr. D and it wasn’t going down. He was in a lot of pain. We took him back urgently in Brazil. Within hours we got him to the operation. He’s going to be out no training at all.”

Lineker was scheduled to fight Jimmie Rivera (21-1 MMA, 5-0 UFC) in a key bantamweight bout at UFC 219, which takes place Saturday at T-Mobile Arena in Las Vegas and airs on pay-per-view following prelims on FS1 and UFC Fight Pass.

The situation marked the first time Lineker pulled out of a UFC fight due to injury, and he was apologetic over the fact he has to withdraw. Lineker said he felt horrible he left Rivera, who has been scratched from the card, without an opponent for the event.

Davis reiterated his client’s disappointment and said he hopes to see Lineker back in the octagon sooner than later once he makes a complete recovery.

“He’s really, really sad he couldn’t make the fight, but sometimes things happen that you can’t really foresee,” Davis said. “It’s a good solution to a bad situation. We’re very sorry to Rivera. Hopefully we’ll be able to fight him one day again. He’s not our enemy or anything.”

For more on UFC 219, check out the UFC Rumors section of the site.