Skip to content

Commit

Permalink
Calling the right Garbage Colector callback when using Cache as Sessi…
Browse files Browse the repository at this point in the history
…on Save Handler. Fixes #6229.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8129 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information
renan committed Mar 26, 2009
1 parent 0516fb2 commit 2082239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/session.php
Expand Up @@ -510,7 +510,7 @@ function __initSession() {
array('Cache', 'read'),
array('Cache', 'write'),
array('Cache', 'delete'),
array('CakeSession', '__gc'));
array('Cache', 'gc'));
break;
default:
if (empty($_SESSION)) {
Expand Down

0 comments on commit 2082239

Please sign in to comment.