mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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() {
|
||||
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