You are here

function simpletest_update_6201 in SimpleTest 6.2

Renamed authentication username and password variables.

File

./simpletest.install, line 238
Install, update and uninstall functions for the simpletest module.

Code

function simpletest_update_6201() {
  $username = variable_get('simpletest_username', '');
  $password = variable_get('simpletest_password', '');
  variable_set('simpletest_httpauth_username', $username);
  variable_set('simpletest_httpauth_password', $password);
  variable_del('simpletest_username', '');
  variable_del('simpletest_password', '');
  return array();
}