Commit 300a7ed2 authored by Dries's avatar Dries
Browse files

- Patch #706138 by neclimdul: Fixed Remove dead static variable from _cache_get_object().

parent 92aa9f42
......@@ -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)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment