function views_move_table

cis7 views.module views_move_table($table)
cle7 views.module views_move_table($table)
elmsmedia7 views.module views_move_table($table)
icor7 views.module views_move_table($table)
meedjum_blog7 views.module views_move_table($table)
mooc7 views.module views_move_table($table)

Find the real location of a table.

If a table has moved, find the new name of the table so that we can change its name directly in options where necessary.

2 calls to views_move_table()
view::fix_missing_relationships in sites/all/modules/ulmus/views/includes/view.inc
Attempt to discover if the view has handlers missing relationships.
view::update in sites/all/modules/ulmus/views/includes/view.inc
Perform automatic updates when loading or importing a view.

File

sites/all/modules/ulmus/views/views.module, line 1582
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_move_table($table) {
  $data = views_fetch_data($table, FALSE);
  if (isset($data['moved to'])) {
    $table = $data['moved to'];
  }

  return $table;
}