diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-13 18:27:39 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-06-13 18:27:39 +0000 |
commit | 1ecf2d1326181a2526886221b0abc270133eab2f (patch) | |
tree | 520dfcebf7f3b3906b50a308231dd0d557d30a83 /modules/system/system.install | |
parent | edb84630e824a6a0c89b6594702e574fa6f395ca (diff) | |
download | brdo-1ecf2d1326181a2526886221b0abc270133eab2f.tar.gz brdo-1ecf2d1326181a2526886221b0abc270133eab2f.tar.bz2 |
#808162 by carlos8f, agentrickard: Fixed update.php fails when optional modules disabled.
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. |