You are here

function user_badges_update_6101 in User Badges 6

Same name and namespace in other branches
  1. 6.2 user_badges.install \user_badges_update_6101()
  2. 7 user_badges.install \user_badges_update_6101()
  3. 7.2 user_badges.install \user_badges_update_6101()
  4. 7.3 user_badges.install \user_badges_update_6101()

File

./user_badges.install, line 212
@brief User Badges install file

Code

function user_badges_update_6101() {
  $ret = array();
  db_drop_index($ret, 'user_badges_product', 'bid_nid');
  db_drop_index($ret, 'user_badges_product', 'nid_bid');
  db_drop_index($ret, 'user_badges_roles', 'bid_nid');
  db_drop_index($ret, 'user_badges_roles', 'nid_bid');
  db_drop_index($ret, 'user_badges_user', 'bid_uid_type');
  return $ret;
}