You are here

function _autologout_refresh_only in Automated Logout 6.4

Same name and namespace in other branches
  1. 7.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_init in ./autologout.module
Implements hook_init().
_autologout_block_view in ./autologout.module
Block view.

File

./autologout.module, line 732
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;
}