diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-29 16:30:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-29 16:30:30 +0000 |
commit | ae84c08eaa48c209d98b7a9e1e7bd8467171ccf9 (patch) | |
tree | ad8daef6ca46185455edd43169ec8a9217351535 /modules/update | |
parent | 598e739208de28182f3329a2c23511f5c27489e5 (diff) | |
download | brdo-ae84c08eaa48c209d98b7a9e1e7bd8467171ccf9.tar.gz brdo-ae84c08eaa48c209d98b7a9e1e7bd8467171ccf9.tar.bz2 |
#334238 follow-up by Dave Reid: Fixed detection of core modules and themes in update.module.
Diffstat (limited to 'modules/update')
-rw-r--r-- | modules/update/update.compare.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc index 764c42cba..996855aa7 100644 --- a/modules/update/update.compare.inc +++ b/modules/update/update.compare.inc @@ -180,12 +180,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)) { - $project_name = 'drupal'; - } - elseif (in_array($file->name, array('garland', 'minnelli', 'stark'))) { - // Unfortunately, there's no way to tell if a theme is part of core, - // so we must hard-code a list here. + elseif (isset($file->info['package']) && (strpos($file->info['package'], 'Core') === 0)) { $project_name = 'drupal'; } return $project_name; |