He did do that and I wasn't too crazy about it when I heard however I am trusting and hoping that on the back side (not public) that Mexico is making promises to alleviate the situation. Remember, Mexico does not want that border closed either. We don't want the border closed (well..I do but as a nation I suppose we don't) so have a little bit of faith in the President. I honestly believe he is doing the best possible and don't believe anyone else could have gotten what he has. Sometimes he has to make threats in order to get there.
Although the border was not completely closed, hundreds of Officers were re-deployed from several Ports of Entry (notably in El Paso), to handle the crush of illegals between the Ports of Entry.
That resulted in big backlogs at those Ports of Entry - hours in line (up to 8 hour waits in El Paso). It was enough pressure to get a rise out of Mexico.