Finish removing outdated PHP mysql functions