You are here

function _autologout_refresh_only in Automated Logout 7.4

Same name and namespace in other branches
  1. 6.4 autologout.module \_autologout_refresh_only()

Determine if connection should be refreshed.

Return value

bool TRUE if something about the current context should keep the connection open. FALSE and the standard countdown to autologout applies.

2 calls to _autologout_refresh_only()
autologout_block_view in ./autologout.module
Implements hook_block_view().
autologout_init in ./autologout.module
Implements hook_init().

File

./autologout.module, line 729
Used to automagically log out a user after a preset time.

Code

function _autologout_refresh_only() {
  foreach (module_invoke_all('autologout_refresh_only') as $module_refresh_only) {
    if (!empty($module_refresh_only)) {
      return TRUE;
      break;
    }
  }
  return FALSE;
}