Bathroom subfloor undergoes leak repair

Must toilet flange be raised along with floor?