Any action or proceeding commenced before this code takes effect, and any right accrued, is not affected by this code, but all procedure thereafter taken therein shall conform to the provisions of this code as far as possible.
Ca. Health and Saf. Code § 4