projects
/
project/drush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fdac0b7
)
Issue #1322532 by axel.rutz: Fixed drush pm-enable dependency resolution bug.
author
Moshe Weitzman
Sat, 5 Nov 2011 01:04:30 +0000 (21:04 -0400)
committer
Moshe Weitzman
Sat, 5 Nov 2011 01:04:54 +0000 (21:04 -0400)
commands/core/drupal/environment.inc
patch
|
blob
|
blame
|
history
diff --git
a/commands/core/drupal/environment.inc
b/commands/core/drupal/environment.inc
index
33dd2ff
..
3c150df
100644
(file)
--- a/
commands/core/drupal/environment.inc
+++ b/
commands/core/drupal/environment.inc
@@
-55,6
+55,7
@@
function drush_check_module_dependencies($modules, $module_info) {
// check for version incompatibility
foreach ($dependencies as $dependency_name => $v) {
$current_version = $module_info[$dependency_name]->info['version'];
+ $current_version = str_replace(DRUPAL_CORE_COMPATIBILITY . '-', '', $current_version);
$incompatibility = drupal_check_incompatibility($v, $current_version);
if (!is_null($incompatibility)) {
$status[$key]['error'] = array(