Welfare and Institutions Code § 5007
CHAPTER 1. General Provisions
Unless otherwise indicated, the provisions of this part shall not be construed to apply retroactively to terminate court commitments of mentally ill persons or inebriates under preexisting law.