You are here

function hosting_client_update_6002 in Hostmaster (Aegir) 6

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

modules/hosting/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;
}