In any action or proceeding in which the sheriff is a party, the coroner shall discharge the duties of sheriff.

(Added by Stats. 1947, Ch. 424.)