MMA legal or not?

I guess I'm behind in the latest mma news, but I was sure that mma laws hadn't been approved in California...so how is King of The Cage gonna have a fight in two weeks in san jacinto?