If the board has appointed a treasurer of the district pursuant to Section 101166, then the word “treasurer” as used in this chapter shall refer to such treasurer of the district so appointed. If the board has not so appointed a treasurer of the district, then the word “treasurer” as used in this chapter shall refer to the county treasurer.