Optimize renew().
Optimize renew().

Don't call session_id() twice when we can use a local variable to store
the current session id.

Fixes #3531

ADmad/cakephp,davidyell/cakephp,khoimt/cakephp-study,eryw/cakephp,dakota/cakephp,timhoeppner/cakephp,dakota/cakephp,erikfig/cakephp,CVO-Technologies/cakephp,tenkoma/cakephp,web-player/cakephp,davidyell/cakephp,ndm2/cakephp,elboletaire/cakephp,gmponos/cakephp,eryw/cakephp,Balachan27/cakephp,CVO-Technologies/cakephp,ionas/cakephp,nrother/cakephp,bravo-kernel/cakephp,CakeDC/cakephp,jerems02/cakephp,jeffblack360/cakephp,adopico/cakephp,et304383/passbolt_api,HavokInspiration/cakephp,CVO-Technologies/cakephp,cakephp/cakephp,ionas/cakephp,cakephp-fr/cakephp,dkarvounaris/cakephp,mvdriel/cakephp,justinyost/cakephp,et304383/passbolt_api,tenkoma/cakephp,jerems02/cakephp,eboominathan/cakephp,Balachan27/cakephp,tgr0ss/cakephp,petteyg/cakephp,garethellis36/cakephp,garethellis36/cakephp,justinyost/cakephp,tenkoma/cakephp,tgr0ss/cakephp,petteyg/cakephp,thinkingmedia/cakephp,Phillaf/cakephp,thinkingmedia/cakephp,pbaire/cakephp,cakephp/cakephp,pbaire/cakephp,tgr0ss/cakephp,elboletaire/cakephp,ADmad/cakephp,jjj117/cakephp,khoimt/cakephp-study,jeffblack360/cakephp,kumamidori/cakephp,cakephp-fr/cakephp,akintoey/cakephp,yinhe007/cakephp,michaelze/cakephp,dkarvounaris/cakephp,ADmad/cakephp,timhoeppner/cakephp,bravo-kernel/cakephp,tenkoma/cakephp,Phillaf/cakephp,eryw/cakephp,thinkingmedia/cakephp,jeffblack360/cakephp,eboominathan/cakephp,jjj117/cakephp,erikfig/cakephp,ndm2/cakephp,Phillaf/cakephp,yinhe007/cakephp,garethellis36/cakephp,petteyg/cakephp,mvdriel/cakephp,et304383/passbolt_api,berrygoudswaard/cakephp,nrother/cakephp,et304383/passbolt_api,dkarvounaris/cakephp,CakeDC/cakephp,tisu2tisu/cakephp,HavokInspiration/cakephp,tisu2tisu/cakephp,eboominathan/cakephp,dakota/cakephp,kumamidori/cakephp,ionas/cakephp,cakephp/cakephp,mvdriel/cakephp,nrother/cakephp,HavokInspiration/cakephp,michaelze/cakephp,jerems02/cakephp,elboletaire/cakephp,web-player/cakephp,erikfig/cakephp,petteyg/cakephp,burriko/cakephp,khoimt/cakephp-study,akintoey/cakephp,CakeDC/cakephp,michaelze/cakephp,jjj117/cakephp,akintoey/cakephp,Balachan27/cakephp,yinhe007/cakephp,dakota/cakephp,berrygoudswaard/cakephp,adopico/cakephp,gmponos/cakephp,bravo-kernel/cakephp,ndm2/cakephp,adopico/cakephp,tisu2tisu/cakephp,berrygoudswaard/cakephp,et304383/passbolt_api,davidyell/cakephp,ndm2/cakephp,burriko/cakephp,gmponos/cakephp,mvdriel/cakephp,kumamidori/cakephp,cakephp/cakephp,garethellis36/cakephp,CakeDC/cakephp,pbaire/cakephp,justinyost/cakephp,web-player/cakephp,burriko/cakephp,timhoeppner/cakephp,cakephp-fr/cakephp,ADmad/cakephp