You are here

function bugherd_update_7001 in BugHerd 7

Rename api key variable to project key to match BugHerd terminology.

File

./bugherd.install, line 24
BugHerd module installation functions.

Code

function bugherd_update_7001(&$sandbox) {
  $key = variable_get('bugherd_api_key');
  if ($key) {
    variable_set('bugherd_project_key', $key);
    variable_del('bugherd_api_key');
  }
}