Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2d128fc0
Commit
2d128fc0
authored
Dec 27, 2007
by
Gábor Hojtsy
Browse files
#203794
by douggreen: nonexistent dependencies should not be considered on the dependency checker
parent
d0940351
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/module.inc
View file @
2d128fc0
...
...
@@ -178,7 +178,7 @@ function _module_build_dependencies($files) {
if
(
isset
(
$file
->
info
[
'dependencies'
])
&&
is_array
(
$file
->
info
[
'dependencies'
]))
{
foreach
(
$file
->
info
[
'dependencies'
]
as
$dependency_name
)
{
// This is a nonexistent module.
if
(
$dependency_name
==
'-circular-'
)
{
if
(
$dependency_name
==
'-circular-'
||
!
isset
(
$files
[
$dependency_name
])
)
{
continue
;
}
// $dependency_name is module B (again, see doxygen).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment