Let's look at what Obama promised.
http://www.barackobama.com/issues/iraq/index_campaign.php#phased-withdrawal
A Responsible, Phased Withdrawal
Barack Obama and Joe Biden believe we must be as careful getting out of Iraq as we were careless getting in. Immediately upon taking office, Obama will give his Secretary of Defense and military commanders a new mission in Iraq: ending the war. The removal of our troops will be responsible and phased, directed by military commanders on the ground and done in consultation with the Iraqi government. Military experts believe we can safely redeploy combat brigades from Iraq at a pace of 1 to 2 brigades a month that would remove them in 16 months. That would be the summer of 2010 – more than 7 years after the war began.
Under the Obama-Biden plan, a residual force will remain in Iraq and in the region to conduct targeted counter-terrorism missions against al Qaeda in Iraq and to protect American diplomatic and civilian personnel. They will not build permanent bases in Iraq, but will continue efforts to train and support the Iraqi security forces as long as Iraqi leaders move toward political reconciliation and away from sectarianism.
http://www.politifact.com/truth-o-meter/promises/promise/126/begin-removing-combat-brigades-from-iraq/Begin removing combat brigades from IraqHe's right on schedule! AND...President Obama's address moving foward -
http://www.whitehouse.gov/the-press-office/2010/08/31/remarks-president-address-nation-end-combat-operations-iraq
Going forward, a transitional force of U.S. troops will remain in Iraq with a different mission: advising and assisting Iraq’s Security Forces, supporting Iraqi troops in targeted counterterrorism missions, and protecting our civilians. Consistent with our agreement with the Iraqi government, all U.S. troops will leave by the end of next year. As our military draws down, our dedicated civilians -- diplomats, aid workers, and advisors -- are moving into the lead to support Iraq as it strengthens its government, resolves political disputes, resettles those displaced by war, and builds ties with the region and the world. That’s a message that Vice President Biden is delivering to the Iraqi people through his visit there today.
Also, President Obama did NOT claim he would end the war in Afghanistan. In fact, he repeatedly promised to send *more* troops there AND he promised to go after al-Qaeda and the Taliban in Pakistan. He's been completely consistent on both Iraq and Afghanistan. You may disagree with him on Afghanistan but stop acting like you've been lied to.