Skip to content
This repository
Browse code

Fixing whitespace and adding doc comment.

  • Loading branch information...
commit 1cdf55f8b279b5b37e1115b9465a041f9f4a4c31 1 parent 66de46c
Mark Story markstory authored

Showing 1 changed file with 8 additions and 2 deletions. Show diff stats Hide diff stats

  1. +8 2 cake/libs/cache.php
10 cake/libs/cache.php
@@ -549,10 +549,16 @@ function settings($name = null) {
549 549 return array();
550 550 }
551 551
  552 +/**
  553 + * Write the session when session data is persisted with cache.
  554 + *
  555 + * @return void
  556 + * @access public
  557 + */
552 558 function __destruct() {
553 559 if (Configure::read('Session.save') == 'cache' && function_exists('session_write_close')) {
554   - session_write_close();
555   - }
  560 + session_write_close();
  561 + }
556 562 }
557 563 }
558 564

0 comments on commit 1cdf55f

Please sign in to comment.
Something went wrong with that request. Please try again.