summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-12 16:55:11 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-12 16:55:11 +0000
commitb43a782b619bf5f314ca7bc9af4d42d36cfa3228 (patch)
treee9c889eaa7a908a3c4eb3fd350b9f5880eca3027 /includes/bootstrap.inc
parent2bd8840e3bb8810bf9f78db97b7e9411e7de590a (diff)
downloadbrdo-b43a782b619bf5f314ca7bc9af4d42d36cfa3228.tar.gz
brdo-b43a782b619bf5f314ca7bc9af4d42d36cfa3228.tar.bz2
- Removed some dead code.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 0 insertions, 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) {