Permalink
Browse files

Add support for session restarting - refs #3100

  • Loading branch information...
1 parent a261eb9 commit 70dbbc0b395eeb5b1fe09539968c778aca32a0ff @kiall kiall committed Jul 5, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 classes/kohana/session/database.php
@@ -176,6 +176,16 @@ protected function _write()
return TRUE;
}
+ /**
+ * @return bool
+ */
+ protected function _restart()
+ {
+ $this->_regenerate();
+
+ return TRUE;
+ }
+
protected function _destroy()
{
if ($this->_update_id === NULL)

0 comments on commit 70dbbc0

Please sign in to comment.