Commit 7af1ab59 authored by Dries's avatar Dries

- Patch #912700 by bleen18, jmiccolis: modules with no files[] entries in...

- Patch #912700 by bleen18, jmiccolis: modules with no files[] entries in .info files are deemed 'incompatible with 7.x'.
parent a6cb5bbf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment