joomla/joomla-platform — pull request #1380 by realityking (2012-07-17 21:04:03+00:00)
Title: Remove our custom session ID generating code if favor of session_regenerate_id().

Note there's one non-optional use of session_id() left on line 624. I'm not really sure what it does so I didn't touch it for now.

I confirmed the CMS works fine with this change (tested admin login/logout). The session id changes on logout. (It doesn't on login because apparently we don't fork the session on login)