function hosting_client_update_6002 in Hosting 7.4
Same name and namespace in other branches
- 6.2 client/hosting_client.install \hosting_client_update_6002()
- 7.3 client/hosting_client.install \hosting_client_update_6002()
Implements hook_update_N().
Remove old primary keys from hosting_client table
This should never fail as the index is present only in really old installs and this update may run on installs that have been done after the index was removed from the schema.
File
- client/
hosting_client.install, line 324 - Define database schema, install and update functions for the hosting_client module.
Code
function hosting_client_update_6002() {
$ret = array();
@db_drop_unique_key($ret, 'hosting_client', 'hosting_client_email_idx');
$ret[0]['success'] = TRUE;
// never fail
return $ret;
}