The board of supervisors shall order securely fenced, filled, or covered any abandoned mining shaft, pit, or other excavation on unoccupied land in the county whenever it appears to them, by proof submitted, that the excavation is dangerous or unsafe to man or beast. The cost of covering, filling, or fencing is a county charge.
Ca. Health and Saf. Code § 115710