You are here

function persistent_login_init in Persistent Login 5

Same name and namespace in other branches
  1. 6 persistent_login.module \persistent_login_init()
  2. 7 persistent_login.module \persistent_login_init()

Implementation of hook_init(). Persistent Login must operate during init because if page caching is enabled, other hooks are never invoked until the user is already logged in.

File

./persistent_login.module, line 38

Code

function persistent_login_init() {
  _persistent_login_check();
}