You are here

public function view::update in Views (for Drupal 7) 7.3

Perform automatic updates when loading or importing a view.

Over time, some things about Views or Drupal data has changed. this attempts to do some automatic updates that must happen to ensure older views will at least try to work.

File

includes/view.inc, line 315
views_objects Objects that represent a View or part of a view

Class

view
An object to contain all of the data to generate a view.

Code

public function update() {

  // When views are converted automatically the base_table should be renamed
  // to have a working query.
  $this->base_table = views_move_table($this->base_table);
}