Commit d5873d51 authored by Spleshka's avatar Spleshka

Changed static to &drupal_static() usage.

parent a5b15d65
......@@ -255,7 +255,7 @@ function expire_execute_expiration($type, $object, $action) {
* @return mixed
*/
function _expire_get_expiration_handler($type) {
static $cache_objects;
$cache_objects = &drupal_static('expire_cache_objects', array());
if (!isset($cache_objects[$type])) {
// Make class names more readable.
......
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