diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-20 07:07:59 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-11-20 07:07:59 +0000 |
commit | b47ecd8ad7a8a961b5d06139b2fa3db62b7f09ad (patch) | |
tree | 4697a0e6c0e7e01a51acb1fde8164f3f36f2f427 /update.php | |
parent | 53f53b6db5949c7d8e6b57253987a4eddf7a26ca (diff) | |
download | brdo-b47ecd8ad7a8a961b5d06139b2fa3db62b7f09ad.tar.gz brdo-b47ecd8ad7a8a961b5d06139b2fa3db62b7f09ad.tar.bz2 |
#320009 by Dave Reid: Catch D7 modules without a files[] line in their .info files.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update.php b/update.php index d5917d3b3..937e98f32 100644 --- a/update.php +++ b/update.php @@ -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; |