cakephp/cakephp — pull request #4316 by lorenzo (2014-08-20 09:28:23+00:00)
Title: Avoiding a call to session_regenerate_id() when there is no id

It makes no sense to regenerate the session id when there wasn't one previously

Fixes #4312