Unfortunately, the liver cannot replace or rebalance the beneficial organisms that have been lost with antibacterials or any other substances that caused an imbalance of the proper flora. Proper liver function helps with digestion,detoxification, and the bile produced can somewhat act as an antimicrobial. But it takes more than just proper liver function to restore a gut that has been overtaken by pathogens. People that have "cured" their candida by just restoring proper liver function had a good amount of beneficial organisms to quickly recover from their candida condition. For more severe and complicated candida conditions people find out it can be much more complicated than just having proper liver function.