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
b47ecd8a
Commit
b47ecd8a
authored
Nov 20, 2008
by
webchick
Browse files
#320009
by Dave Reid: Catch D7 modules without a files[] line in their .info files.
parent
53f53b6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
update.php
View file @
b47ecd8a
...
...
@@ -512,7 +512,8 @@ function update_check_incompatibility($name, $type = 'module') {
if
(
!
isset
(
$file
)
||
!
isset
(
$file
->
info
[
'core'
])
||
$file
->
info
[
'core'
]
!=
DRUPAL_CORE_COMPATIBILITY
||
version_compare
(
phpversion
(),
$file
->
info
[
'php'
])
<
0
)
{
||
version_compare
(
phpversion
(),
$file
->
info
[
'php'
])
<
0
||
(
$type
==
'module'
&&
empty
(
$file
->
info
[
'files'
])))
{
return
TRUE
;
}
return
FALSE
;
...
...
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