You are here

function hosting_client_update_6002 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 client/hosting_client.install \hosting_client_update_6002()
  2. 7.3 client/hosting_client.install \hosting_client_update_6002()

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 294
Install, update and uninstall for the clients 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;
}