CCP 807     

Art. 807.  Transfer of interest

When a party to an action transfers an interest in the subject matter thereof, the action shall be continued by or against such party, unless the court directs that the transferee be substituted for or joined with the transferor