summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/update.inc3
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;