From b43a782b619bf5f314ca7bc9af4d42d36cfa3228 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 Apr 2005 16:55:11 +0000 Subject: - Removed some dead code. --- includes/bootstrap.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index def6e412c..10686638c 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -201,7 +201,6 @@ function variable_del($name) { */ function cache_get($key) { global $user; - $sid = session_id(); // CACHE_ENABLED_LOOSE garbage collection $cache_flush = variable_get('cache_flush', 0); @@ -275,7 +274,6 @@ function cache_set($cid, $data, $expire = CACHE_PERMANENT, $headers = NULL) { */ function cache_clear_all($cid = NULL, $wildcard = false) { global $user; - $sid = session_id(); if (empty($cid)) { if (variable_get('cache', CACHE_DISABLED) == CACHE_ENABLED_STRICT) { -- cgit v1.2.3