Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diff-2834253
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
diff-2834253
Commits
9a7b7a7b
Commit
9a7b7a7b
authored
15 years ago
by
young hahn
Browse files
Options
Downloads
Patches
Plain Diff
#324222
by Anselm Heaton: Replaces include_once() calls with module_load_include().
parent
e6aa86f2
No related branches found
Branches containing commit
Tags
7.x-2.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
diff.module
+4
-4
4 additions, 4 deletions
diff.module
with
4 additions
and
4 deletions
diff.module
+
4
−
4
View file @
9a7b7a7b
...
...
@@ -532,13 +532,13 @@ function diff_diffs_show(&$node, $old_vid, $new_vid) {
*/
function
_diff_body_rows
(
&
$old_node
,
&
$new_node
)
{
drupal_add_css
(
drupal_get_path
(
'module'
,
'diff'
)
.
'/diff.css'
,
'module'
,
'all'
,
FALSE
);
include_once
(
'DiffEngine
.php
'
);
include_once
(
'node
.inc
'
);
module_load_include
(
'php'
,
'diff'
,
'DiffEngine'
);
module_load_include
(
'inc'
,
'diff'
,
'node'
);
if
(
module_exists
(
'taxonomy'
))
{
include_once
(
'taxonomy
.inc
'
);
module_load_include
(
'inc'
,
'diff'
,
'taxonomy'
);
}
if
(
module_exists
(
'upload'
))
{
include_once
(
'upload
.inc
'
);
module_load_include
(
'inc'
,
'diff'
,
'upload'
);
}
$rows
=
array
();
...
...
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