You are here

function structured_data_uninstall in Structured Data (JSON+LD Rich Snippets) 7

Implements hook_uninstall().

File

./structured_data.install, line 10
Install, Uninstall, and Update hooks for structured_data module.

Code

function structured_data_uninstall() {

  // Marketing variables.
  variable_del('structured_data_site_name_default');
  variable_del('structured_data_site_name_custom');
  variable_del('structured_data_site_name_alternative');
  variable_del('structured_data_site_logo_default');
  variable_del('structured_data_site_logo_custom');

  // Local Business variables.
  variable_del('structured_data_business_type');
  variable_del('structured_data_address');
  variable_del('structured_data_city');
  variable_del('structured_data_state');
  variable_del('structured_data_zip');

  // Corporate contact variables.
  variable_del('structured_data_phone');
  variable_del('structured_data_phone_type');
  variable_del('structured_data_phone_options');

  // Social links variables.
  variable_del('structured_data_social_links');
}