Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
a331965b
Commit
a331965b
authored
Feb 6, 2013
by
catch
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1907882
by dawehner: Remove views_include().
parent
c5b09f74
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/views/views.module
+0
-7
0 additions, 7 deletions
core/modules/views/views.module
core/modules/views/views_ui/admin.inc
+1
-1
1 addition, 1 deletion
core/modules/views/views_ui/admin.inc
with
1 addition
and
8 deletions
core/modules/views/views.module
+
0
−
7
View file @
a331965b
...
@@ -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().
*/
*/
...
...
This diff is collapsed.
Click to expand it.
core/modules/views/views_ui/admin.inc
+
1
−
1
View file @
a331965b
...
@@ -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
'
,
'
include
s/
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment