From acd5e95200790938c2b6b5042972100d47847a68 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 12 Oct 2008 02:52:52 +0000 Subject: #320009 by Dave Reid: Remove notice about missing files[] array and prevent incompatible modules from being enabled. --- modules/system/system.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 2cf868bec..a0394ce74 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -742,7 +742,7 @@ function _system_modules_build_row($info, $extra) { $status_long = ''; // Check the core compatibility. - if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY) { + if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY || empty($info['files'])) { $compatible = FALSE; $status_short .= t('Incompatible with this version of Drupal core. '); $status_long .= t('This version is incompatible with the !core_version version of Drupal core. ', array('!core_version' => VERSION)); -- cgit v1.2.3