summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-16 18:00:43 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-16 18:00:43 +0000
commit5a01e04053814b5cf0060c9000d3cd18e7efc45c (patch)
treefb60ef5cff2f108d68486f0de571211998722e13 /modules/system
parentae66095b3b283d2ba4590640420b875394ed9ba3 (diff)
downloadbrdo-5a01e04053814b5cf0060c9000d3cd18e7efc45c.tar.gz
brdo-5a01e04053814b5cf0060c9000d3cd18e7efc45c.tar.bz2
- Patch #912700 by bleen18: modules with no files[] entries in .info files are deemed 'incompatible with 7.x'.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 5b63959b1..0e3bfd659 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1031,7 +1031,7 @@ function _system_modules_build_row($info, $extra) {
$status_long = '';
// Check the core compatibility.
- if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY || empty($info['files'])) {
+ if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY) {
$compatible = FALSE;
$status_short .= t('Incompatible with this version of Drupal core. ');
$status_long .= t('This version is not compatible with Drupal !core_version and should be replaced.', array('!core_version' => DRUPAL_CORE_COMPATIBILITY));