Commit a331965b authored by catch's avatar catch

Issue #1907882 by dawehner: Remove views_include().

parent c5b09f74
......@@ -827,13 +827,6 @@ function &views_get_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().
*/
......
......@@ -567,7 +567,7 @@ function views_ui_ajax_form($js, $key, ViewUI $view, $display_id = '') {
return MENU_NOT_FOUND;
}
views_include('ajax');
module_load_include('inc', 'views', 'includes/ajax');
$args = func_get_args();
// Remove the known args
array_splice($args, 0, 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment