summaryrefslogtreecommitdiff
path: root/system/libraries/Session.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-02 18:00:22 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-02 18:00:22 -0700
commiteb5538d1357dade9e6e08d1b603033928944011c (patch)
treeee04f9be38a40f4125eafab5367bba6cf1b61164 /system/libraries/Session.php
parent1a5fe42b555d51d22bde1521100a31d2b434486b (diff)
parenta633c134b754305eaa611c5d67af4ca7c79beafe (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Conflicts: modules/server_add/controllers/admin_server_add.php
Diffstat (limited to 'system/libraries/Session.php')
-rw-r--r--system/libraries/Session.php26
1 files changed, 14 insertions, 12 deletions
diff --git a/system/libraries/Session.php b/system/libraries/Session.php
index 61a0d403..670ee6a6 100644
--- a/system/libraries/Session.php
+++ b/system/libraries/Session.php
@@ -2,7 +2,7 @@
/**
* Session library.
*
- * $Id: Session.php 4073 2009-03-13 17:53:58Z Shadowhand $
+ * $Id: Session.php 4433 2009-07-01 03:44:20Z kiall $
*
* @package Core
* @author Kohana Team
@@ -27,8 +27,8 @@ class Session_Core {
// Input library
protected $input;
- // Automatically save the session by default
- public static $should_save = true;
+ // Automatically save the session by default
+ public static $should_save = true;
/**
* Singleton instance of Session.
@@ -458,14 +458,16 @@ class Session_Core {
}
}
- /**
- * Do not save this session.
- *
- * @return void
- */
- public function abort_save() {
- Session::$should_save = false;
-
- }
+ /**
+ * Do not save this session.
+ * This is a performance feature only, if using the native
+ * session "driver" the save will NOT be aborted.
+ *
+ * @return void
+ */
+ public function abort_save()
+ {
+ Session::$should_save = FALSE;
+ }
} // End Session Class