From 7af1ab590f1f5811c039ede258daff2635563a00 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 27 Oct 2010 19:31:53 +0000
Subject: [PATCH] - Patch #912700 by bleen18, jmiccolis: modules with no
 files[] entries in .info files are deemed 'incompatible with 7.x'.

---
 includes/update.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/includes/update.inc b/includes/update.inc
index d2ba9c1a6fa9..c352cf8a3bb1 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;
-- 
GitLab