Influence of bony resorption on endodontic treatment