A water order has been lifted in parts of the Harrogate district after householders were warned not to drink from their tap.