diff options
Diffstat (limited to 'modules')
-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; |