You are here

function messaging_static_cache_get in Messaging 7

Same name and namespace in other branches
  1. 6.4 messaging.module \messaging_static_cache_get()

Get data from static cache

File

./messaging.module, line 635

Code

function messaging_static_cache_get($cache_name, $key) {
  $cache =& drupal_static($cache_name);
  return isset($cache[$key]) ? $cache[$key] : NULL;
}