summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorGODZilla0480@gmail.com <>2012-02-28 09:52:47 +0000
committerGODZilla0480@gmail.com <>2012-02-28 09:52:47 +0000
commitf99ef429874fc6ba4bc644ac8d2cf2a378f6f6f4 (patch)
treebd22674d0c529eb63820f2d3fb26c85d7ea5318d /framework
parent2c497f6b0136bf77cdf0c3fd700d8213735df5b5 (diff)
Fix naming misconception in THttpSession:regenerate
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/THttpSession.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/THttpSession.php b/framework/Web/THttpSession.php
index a36aa659..0aa92254 100644
--- a/framework/Web/THttpSession.php
+++ b/framework/Web/THttpSession.php
@@ -169,9 +169,8 @@ class THttpSession extends TApplicationComponent implements IteratorAggregate,Ar
*/
public function regenerate($deleteOld=false)
{
- $old = $this->getID();
+ $old = $this->getSessionID();
session_regenerate_id($deleteOld);
- $this->setID(session_id());
return $old;
}