diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 654ca4ac7..9a57f1bc9 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -364,8 +364,8 @@ function system_requirements($phase) { if ($phase == 'update') { $files = system_rebuild_module_data(); foreach ($files as $module => $file) { - // Ignore disabled modules. - if (!$file->status) { + // Ignore disabled modules and install profiles. + if (!$file->status || preg_match('/\.profile$/', $file->filename)) { continue; } // Check the module's PHP version. |