1 views.install | views_update_1002() |
Drop Views tables that were converted to configuration files.
This update is separate from views_update_1001 so that other modules may read the views_view and views_display tables before they are dropped using hook_update_dependencies() to come between these two updates.
Related topics
File
- core/
modules/ views/ views.install, line 77 - Contains install and update functions for Views.
Code
function views_update_1002() {
if (db_table_exists('views_view')) {
db_drop_table('views_view');
db_drop_table('views_display');
}
}