function user_badges_update_6101 in User Badges 7.2
Same name and namespace in other branches
- 6.2 user_badges.install \user_badges_update_6101()
- 6 user_badges.install \user_badges_update_6101()
- 7 user_badges.install \user_badges_update_6101()
- 7.3 user_badges.install \user_badges_update_6101()
Drop useless indexes.
File
- ./
user_badges.install, line 206 - @brief User Badges install file
Code
function user_badges_update_6101() {
db_drop_index('user_badges_product', 'bid_nid');
db_drop_index('user_badges_product', 'nid_bid');
db_drop_index('user_badges_roles', 'bid_nid');
db_drop_index('user_badges_roles', 'nid_bid');
db_drop_index('user_badges_user', 'bid_uid_type');
}