Sorry, I think this might have been my bad since I forgot that PC is synonymous with Windows computer in the US. I just mean you obviously need something to backup that data to. It could be a Mac or whatever but there many iOS users who don't own a laptop or desktop computer. I'll edit my prior comment for better clarity.
Assuming she didn't have something to backup the data to, then it would make some sense for her to disable the passcode so somebody could perform the repair without requiring the erasure of her data.