You are here

function uc_catalog_update_7005 in Ubercart 7.3

Delete unused catalog settings.

File

uc_catalog/uc_catalog.install, line 241
Install, update and uninstall functions for the uc_catalog module.

Code

function uc_catalog_update_7005() {
  variable_del('uc_catalog_show_subcategories');
  variable_del('uc_catalog_category_columns');
  variable_del('uc_product_nodes_per_page');
  variable_del('uc_catalog_grid_display');
  variable_del('uc_catalog_grid_display_width');
  variable_del('uc_catalog_grid_display_title');
  variable_del('uc_catalog_grid_display_model');
  variable_del('uc_catalog_grid_display_image');
  variable_del('uc_catalog_grid_display_sell_price');
  variable_del('uc_catalog_grid_display_add_to_cart');
  variable_del('uc_catalog_grid_display_attributes');
}