Skip to content
Snippets Groups Projects
Commit a331965b authored by catch's avatar catch
Browse files

Issue #1907882 by dawehner: Remove views_include().

parent c5b09f74
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -827,13 +827,6 @@ function &views_get_current_view() { ...@@ -827,13 +827,6 @@ function &views_get_current_view() {
return views_set_current_view(); return views_set_current_view();
} }
/**
* Include views .inc files as necessary.
*/
function views_include($file) {
module_load_include('inc', 'views', 'includes/' . $file);
}
/** /**
* Implements hook_hook_info(). * Implements hook_hook_info().
*/ */
......
...@@ -567,7 +567,7 @@ function views_ui_ajax_form($js, $key, ViewUI $view, $display_id = '') { ...@@ -567,7 +567,7 @@ function views_ui_ajax_form($js, $key, ViewUI $view, $display_id = '') {
return MENU_NOT_FOUND; return MENU_NOT_FOUND;
} }
views_include('ajax'); module_load_include('inc', 'views', 'includes/ajax');
$args = func_get_args(); $args = func_get_args();
// Remove the known args // Remove the known args
array_splice($args, 0, 4); array_splice($args, 0, 4);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment