You are here

function uc_catalog_update_5 in Ubercart 5

File

uc_catalog/uc_catalog.install, line 125

Code

function uc_catalog_update_5() {
  variable_del('uc_catalog_special_block');
  variable_del('uc_catalog_special_block_lines');
  variable_del('uc_catalog_special_block_help');
  variable_del('uc_catalog_special_block_help_allowed');
  variable_del('uc_catalog_special_block_title');
  variable_del('uc_catalog_bestsellers_block');
  variable_del('uc_catalog_bestsellers_block_lines');
  variable_del('uc_catalog_bestsellers_block_help');
  variable_del('uc_catalog_bestsellers_block_help_allowed');
  variable_del('uc_catlaog_bestsellers_block_title');
  variable_del('uc_catalog_contact_url');
  variable_del('uc_catalog_consult_block');
  return array(
    array(
      'success' => TRUE,
      'query' => "DELETE unused variables",
    ),
  );
}