Skip to content
Snippets Groups Projects
Commit 7af1ab59 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- 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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -62,8 +62,7 @@ function update_check_incompatibility($name, $type = 'module') { ...@@ -62,8 +62,7 @@ function update_check_incompatibility($name, $type = 'module') {
if (!isset($file) if (!isset($file)
|| !isset($file->info['core']) || !isset($file->info['core'])
|| $file->info['core'] != DRUPAL_CORE_COMPATIBILITY || $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 TRUE;
} }
return FALSE; return FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment