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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.