From 63b047eb5751f2c711ecfd22dc19e4450b41e277 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 21 Nov 2009 20:25:45 -0500 Subject: [PATCH] Replacing extract with classicExtract. --- cake/libs/cake_session.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/libs/cake_session.php b/cake/libs/cake_session.php index 957af54ff..1ef0a8397 100644 --- a/cake/libs/cake_session.php +++ b/cake/libs/cake_session.php @@ -216,7 +216,7 @@ class CakeSession extends Object { if (empty($var)) { return false; } - $result = Set::extract($_SESSION, $var); + $result = Set::classicExtract($_SESSION, $var); return isset($result); } @@ -354,7 +354,7 @@ class CakeSession extends Object { if (empty($name)) { return false; } - $result = Set::extract($_SESSION, $name); + $result = Set::classicExtract($_SESSION, $name); if (!is_null($result)) { return $result; @@ -433,7 +433,7 @@ class CakeSession extends Object { trigger_error('Writing session key {' . $var . '}: ' . Debugger::exportVar($value), E_USER_NOTICE); } $this->__overwrite($_SESSION, Set::insert($_SESSION, $var, $value)); - return (Set::extract($_SESSION, $var) === $value); + return (Set::classicExtract($_SESSION, $var) === $value); } /**