Skip to content
Browse files

Calling the right Garbage Colector callback when using Cache as Sessi…

…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...
1 parent 0516fb2 commit 20822399694467277eadf9fa1468c763ab4d9dc7 @renan renan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/session.php
View
2 cake/libs/session.php
@@ -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)) {

0 comments on commit 2082239

Please sign in to comment.
Something went wrong with that request. Please try again.