You are here

function context_update_6003 in Context 6.3

Same name and namespace in other branches
  1. 6.2 context.install \context_update_6003()

Remove deprecated tables from context_ui.

File

./context.install, line 178

Code

function context_update_6003() {
  $ret = array();
  $tables = array(
    'context_ui',
    'context_ui_setter',
    'context_ui_getter',
    'context_ui_block',
  );
  foreach ($tables as $table) {
    if (db_table_exists($table)) {
      db_drop_table($ret, $table);
    }
  }
  return $ret;
}