I hope he has some money to spend to fix it. All brake components with rubber seals must be replaced, ie master cyl, brake calipers, brake hoses, possibly ABS pump motor and valves, etc. Then the hard lines need to be flushed 1st with a cleaner (alcohol works well, not the drinking kind) then with water, then with air. Once that is done and all the rubber components are replaced and the system is filled with BRAKE FLUID your friend will have a safe brake system again. Short cutting this by only replacing some components is pointless the PS fluid residue will remain in the original components and will contaminate the system bringing you right back to square one. Have fun.