diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-27 19:31:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-27 19:31:53 +0000 |
commit | 7af1ab590f1f5811c039ede258daff2635563a00 (patch) | |
tree | 37ca100a167d10b244fdf8a5404b19e867e8cb91 | |
parent | a6cb5bbf85186dec88f6c61f1dd9119e24a308e6 (diff) | |
download | brdo-7af1ab590f1f5811c039ede258daff2635563a00.tar.gz brdo-7af1ab590f1f5811c039ede258daff2635563a00.tar.bz2 |
- Patch #912700 by bleen18, jmiccolis: modules with no files[] entries in .info files are deemed 'incompatible with 7.x'.
-rw-r--r-- | includes/update.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/update.inc b/includes/update.inc index d2ba9c1a6..c352cf8a3 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -62,8 +62,7 @@ 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 - || ($type == 'module' && empty($file->info['files']))) { + || version_compare(phpversion(), $file->info['php']) < 0) { return TRUE; } return FALSE; |