It was about a year ago. It wasn't legalization (wtf?) it was an attempt to criminalize financial transactions with sites. Parter Poker banned Americans. Stars did nothing of the sort.
Online poker is just fine.
http://en.wikipedia.org/wiki/Online_poker