You are here

function system_status_update_7200 in System Status 7

Creates an unique token.

Tokens introduced in 7.x-1.x.

File

./system_status.install, line 43
Clean up file for system_status

Code

function system_status_update_7200() {
  if (variable_get('system_status_token', 0) === 0) {
    variable_set('system_status_token', SystemStatusEncryption::getToken());
  }
  if (variable_get('system_status_encrypt_token', 0) === 0) {
    variable_set('system_status_encrypt_token', SystemStatusEncryption::getToken());
  }
}