function constant_contact_update_6201 in Constant Contact 6.3
Upgrade for drupal 6.x-2.1
File
- ./
constant_contact.install, line 148
Code
function constant_contact_update_6201() {
// convert old username and password for RC2 or below
$username = variable_get('cc-username', '');
$password = variable_get('cc-password', '');
if ($username && $password) {
variable_set('cc_username', $username);
variable_set('cc_password', $password);
}
}