You are here

function session_api_update_7103 in Session API 7

Implements hook_update_N().

Sets the expire time to 0 if it was previously set to -1.

File

./session_api.install, line 78
Install file for Session API.

Code

function session_api_update_7103() {
  if (variable_get('session_api_cookie_expire_time', 2592000) == -1) {
    variable_set('session_api_cookie_expire_time', 0);
  }
}