mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 15:06:27 +00:00
Fixing whitespace and adding doc comment.
This commit is contained in:
parent
66de46cd5b
commit
1cdf55f8b2
1 changed files with 8 additions and 2 deletions
|
@ -549,6 +549,12 @@ class Cache {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write the session when session data is persisted with cache.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
function __destruct() {
|
function __destruct() {
|
||||||
if (Configure::read('Session.save') == 'cache' && function_exists('session_write_close')) {
|
if (Configure::read('Session.save') == 'cache' && function_exists('session_write_close')) {
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
Loading…
Add table
Reference in a new issue