Wales international Joe Ledley has revealed he was sidelined with a similar injury to fellow Celtic midfielder Scott Brown.