"The Obama administration in 2011 delayed processing Iraqi refugees for six months following evidence of a failed plot by two Iraqi refugees.
Trump’s executive order temporarily bars travel to the United States for all citizens from seven countries, and it is not in direct response to actions from citizens of those countries.
Furthermore, Iraqi refugees were nonetheless admitted to the United States during the 2011 suspension while Trump has put an indefinite ban on Syrian refugees."
http://www.politifact.com/truth-o-meter/statements/2017/jan/30/donald-trump/why-comparing-trumps-and-obamas-immigration-restri/