From 300a7ed2b078b3b4f2be732fdad408fbb3f20c6f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Feb 2010 14:53:20 +0000 Subject: - Patch #706138 by neclimdul: Fixed Remove dead static variable from _cache_get_object(). --- includes/cache.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/cache.inc b/includes/cache.inc index b45d26b27..453e2dc9b 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -18,7 +18,7 @@ function _cache_get_object($bin) { // We do not use drupal_static() here because we do not want to change the // storage of a cache bin mid-request. - static $cache_objects, $default_class; + static $cache_objects; if (!isset($cache_objects[$bin])) { $class = variable_get('cache_class_' . $bin); if (!isset($class)) { -- cgit v1.2.3