mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
Remove __start from SessionHelper
This commit is contained in:
parent
04b67e59fc
commit
913d54caa0
1 changed files with 0 additions and 15 deletions
|
@ -116,19 +116,4 @@ class SessionHelper extends AppHelper {
|
||||||
public function valid() {
|
public function valid() {
|
||||||
return CakeSession::valid();
|
return CakeSession::valid();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Determine if Session has been started
|
|
||||||
* and attempt to start it if not
|
|
||||||
*
|
|
||||||
* @return boolean true if Session is already started, false if
|
|
||||||
* Session could not be started
|
|
||||||
* @access private
|
|
||||||
*/
|
|
||||||
protected function __start() {
|
|
||||||
if (!$this->started()) {
|
|
||||||
return $this->start();
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue