You are here

function tvi_update_7002 in Taxonomy Views Integrator 7

Drop schema in favor of {variable} table.

File

./tvi.install, line 96
Install, update, and uninstall functions for the tvi module.

Code

function tvi_update_7002(&$sandbox) {
  tvi_include('query');
  $settings = db_select('tvi_settings', 'tvi')
    ->fields('tvi')
    ->execute()
    ->fetchAll();
  foreach ($settings as $setting) {
    tvi_update_settings($setting);
  }
  db_drop_table('tvi_settings');
}