In all cases where ditches are owned by two or more persons and one or more of such persons fails or neglects to do a proportionate share of the work necessary for the proper maintenance and operation of the ditch, or to construct suitable headgates or measuring devices at the points where water is diverted from the main ditch, the owner desiring the performance of such work may, after having given 10 days' written notice to the other owner who has failed to perform a proportionate share of the work, perform such share, and recover therefor from the person in default the reasonable expense of the work.
ORS 540.420