You are here

function _authcache_debug_status in Authenticated User Page Caching (Authcache) 7.2

Set and get the caching status of the current request.

3 calls to _authcache_debug_status()
authcache_debug_authcache_canceled in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_canceled().
authcache_debug_authcache_debug_info in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_debug_info().
authcache_debug_authcache_excluded in modules/authcache_debug/authcache_debug.module
Implements hook_authcache_excluded().

File

modules/authcache_debug/authcache_debug.module, line 190
Debug widget for Authcache.

Code

function _authcache_debug_status($status = NULL) {
  $first_status =& drupal_static(__FUNCTION__);
  if (!isset($first_status) && isset($status)) {
    $first_status = $status;
  }
  return $first_status;
}