The first one
That's not the same thing. The removal of the quota means we no longer needed to bring in a certain amount of people belonging to a specific race, religion, etc. nowhere does it say that it takes away the president's power to bar certain classes of people from immigrating.