function views_move_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 includes/
view.inc - Attempt to discover if the view has handlers missing relationships.
- view::update in includes/
view.inc - Perform automatic updates when loading or importing a view.
File
-
./
views.module, line 1758
Code
function views_move_table($table) {
$data = views_fetch_data($table, FALSE);
if (isset($data['moved to'])) {
$table = $data['moved to'];
}
return $table;
}