You are here

function messaging_update_6009 in Messaging 6.4

Drop unique key for method, address and update table

File

./messaging.install, line 369

Code

function messaging_update_6009() {
  $ret = array();
  if (!variable_get('messaging_update_6006', 0)) {

    // Depending on the upgrade path, we may have 'destination' key created or not. Skip error if not
    @db_drop_unique_key($ret, 'messaging_destination', 'destination');
  }
  return $ret;
}