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
4595edbf
Commit
4595edbf
authored
Nov 15, 2008
by
Dries
Browse files
- Patch
#334238
by justinrandell: fixed update_get_project_name.
parent
8fb1fc5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/update/update.compare.inc
View file @
4595edbf
...
...
@@ -103,7 +103,7 @@ function update_get_project_name($file) {
if
(
isset
(
$file
->
info
[
'project'
]))
{
$project_name
=
$file
->
info
[
'project'
];
}
elseif
(
isset
(
$file
->
info
[
'package'
])
&&
(
strpos
(
$file
->
info
[
'package'
],
'Core
-
'
)
!==
FALSE
))
{
elseif
(
isset
(
$file
->
info
[
'package'
])
&&
(
strpos
(
$file
->
info
[
'package'
],
'Core'
)
!==
FALSE
))
{
$project_name
=
'drupal'
;
}
elseif
(
in_array
(
$file
->
name
,
array
(
'bluemarine'
,
'chameleon'
,
'garland'
,
'marvin'
,
'minnelli'
,
'pushbutton'
)))
{
...
...
Write
Preview
Supports
Markdown
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