civicrm/civicrm-core — pull request #4726 by atif-shaikh (2014-12-16 13:48:21+00:00)
Title: CRM-5039 - Events don't always limit registrations to "max participants"...

... setting

https://issues.civicrm.org/jira/browse/CRM-5039