summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-02-06 14:53:20 +0000
committerDries Buytaert <dries@buytaert.net>2010-02-06 14:53:20 +0000
commit300a7ed2b078b3b4f2be732fdad408fbb3f20c6f (patch)
tree25458f9d569a944f89335b9134ce83229d985b57 /includes
parent92aa9f427d16317a1bb63d33ae1537a9987e0f7a (diff)
downloadbrdo-300a7ed2b078b3b4f2be732fdad408fbb3f20c6f.tar.gz
brdo-300a7ed2b078b3b4f2be732fdad408fbb3f20c6f.tar.bz2
- Patch #706138 by neclimdul: Fixed Remove dead static variable from _cache_get_object().
Diffstat (limited to 'includes')
-rw-r--r--includes/cache.inc2
1 files changed, 1 insertions, 1 deletions
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)) {