Skip to content
Snippets Groups Projects
Commit 300a7ed2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 92aa9f42
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment