aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-22 20:58:11 -0800
committerfriendica <info@friendica.com>2015-02-22 20:58:11 -0800
commite1cf396feba2fe33ea992570b1d90edaaeb87ad5 (patch)
treebb06c0f15e4ab973c59ebc289ecf34a519642673 /include
parent324e59b1b68cb3a799194e51218b503044fb3975 (diff)
downloadvolse-hubzilla-e1cf396feba2fe33ea992570b1d90edaaeb87ad5.tar.gz
volse-hubzilla-e1cf396feba2fe33ea992570b1d90edaaeb87ad5.tar.bz2
volse-hubzilla-e1cf396feba2fe33ea992570b1d90edaaeb87ad5.zip
remove the new session functions from the trunk. Don't yet know if they'll come back or not.
Diffstat (limited to 'include')
-rw-r--r--include/session.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/include/session.php b/include/session.php
index 739eca213..0e2adb77d 100644
--- a/include/session.php
+++ b/include/session.php
@@ -6,39 +6,6 @@
$session_exists = 0;
$session_expire = 180000;
-/*
-$session_mirror = null;
-
-function red_session_start() {
- global $session_mirror;
-
- session_start();
- $session_mirror = $_SESSION;
- session_write_close();
-}
-
-function red_session_get($var) {
- global $session_mirror;
- if(is_null($session_mirror))
- red_session_start();
- return $session_mirror[$var];
-}
-
-function red_session_put($var,$val) {
- session_start();
- $_SESSION[$var] = $val;
- $session_mirror = $_SESSION;
- session_write_close();
-}
-
-function red_session_destroy() {
- session_start();
- unset($_SESSION);
- unset($session_mirror);
- session_write_close();
-}
-*/
-
function new_cookie($time) {
$old_sid = session_id();