Receive the latest celebrity updates in your inbox

Demi Lovato checked into rehab for bulimia and bipolar disorder last year.

The Disney Channel pulled two episodes it was airing after Demi Lovato criticized the network for making light of eating disorders.

The 19-year-old Disney protege, who left series Sonny With A Chance to check into rehab for bipolar disorder and bulimia, tweeted she was upset about a character saying "I could just eat you up, well, if I ate" on Shake it Up. Another episode of So Random! also included an eating disorder joke, according to Us Magazine.

The star was not afraid to get personal. "I find it really funny how a company can lose one of their actress' from the pressures of an EATING DISORDER and yet still make joke about that very disease. #nice," she tweeted.

Demi Lovato on Spending Her Birthday At Kim Kardashian's Wedding

Demi Lovato chats about why she chose to speak so openly about the troubles she's had. Plus, with her birthday falling on the same day as Kim Kardashian's wedding, will Kim be bringing her a gift?

(Published Tuesday, March 4, 2014)

She also wrote to her 5.3 million followers, "And is it just me or are the actress' [on Disney Channel] getting THINNER AND THINNER.... I miss the days of RAVEN, and LIZZIE MCGUIRE," referencing to two shows that starred Raven Simone and Hillary Duff.

Disney heard the message loud and clear. Just a few hours later, they said they were taking the two episodes off air.

"@ddlovato - we hear you & are pulling both episodes as quickly as possible & reevaluating them," Disney's PR branch wrote. "@ddlovato - It's NEVER our intention to make light of eating disorders!"

Embattled Demi Lovato Is a "Strong Girl," Says Pal

At this week's "Dancing with the Stars" elimination show, Kyle Massey talks about how his good friend Demi Lovato, who recently admitted herself into a treatment facility for emotional and physical issues, will be "fine."

(Published Tuesday, March 4, 2014)

Lovato, now focusing on a music career, said earlier this year she is learning to live with her "life-long disease."