You are here

function commerce_wishlist_update_7301 in Commerce Wishlist 7.3

Delete the old wish list tables from the database.

File

./commerce_wishlist.install, line 38
Installation hooks.

Code

function commerce_wishlist_update_7301() {

  // Present on both 1.x and 2.x.
  db_drop_table('commerce_wishlist');

  // 1.x will not have this table.
  if (db_table_exists('commerce_wishlist_item')) {
    db_drop_table('commerce_wishlist_item');
  }
}