views_ui_list_views

  1. drupal
    1. 6 admin.inc function
    2. 7 views_ui.module function
Drupal 7 views_ui_list_views()

Handle bad updates from alpha versions to beta versions.

This function will ONLY be called if there is an old menu entry for this hanging around. This will force a menu rebuild and a cache clear which should resolve the problem.

File

sites/all/modules/views/views_ui.module, line 849
views_ui.module Provide structure for the administrative interface to Views.

Code

function views_ui_list_views() {
  drupal_flush_all_caches();
  menu_rebuild();
  drupal_goto($_GET['q']);
}