summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerman van Rink2013-09-26 12:28:22 (GMT)
committerHerman van Rink2013-09-26 12:28:43 (GMT)
commit41003996f17274e0f94adba86492d775188fb32a (patch)
tree8edbb8b899bca7a51110465f9547e5d5b784b0a2
parentd68f90e9001a4352e017063860efe56522b2001b (diff)
Issue #1194602 by helmo, clemens.tolboom: Generalize version check.
-rw-r--r--platform/provision_drupal.drush.inc2
-rw-r--r--platform/verify.provision.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/provision_drupal.drush.inc b/platform/provision_drupal.drush.inc
index 58756ed..61e1da3 100644
--- a/platform/provision_drupal.drush.inc
+++ b/platform/provision_drupal.drush.inc
@@ -529,7 +529,7 @@ function _provision_find_platforms() {
return array(
'drupal' => array(
'short_name' => 'drupal', 'version' => drush_drupal_version(),
- 'description' => dt("This platform is running @short_name @version", array('@short_name' => 'Drupal', '@version' => VERSION))));
+ 'description' => dt("This platform is running @short_name @version", array('@short_name' => 'Drupal', '@version' => drush_drupal_version())))
}
/**
diff --git a/platform/verify.provision.inc b/platform/verify.provision.inc
index 0ea3079..1c65286 100644
--- a/platform/verify.provision.inc
+++ b/platform/verify.provision.inc
@@ -76,7 +76,7 @@ function drush_provision_drupal_pre_provision_verify() {
->fail('Drupal sites directory @path is not writable by the provisioning script', 'PROVISION_SITES_DIR_NOT_WRITABLE');
drush_set_option('sites', array_keys((array) provision_drupal_find_sites()), 'drupal');
- drush_log(dt("This platform is running @short_name @version", array('@short_name' => 'drupal', '@version' => VERSION)));
+ drush_log(dt("This platform is running @short_name @version", array('@short_name' => 'drupal', '@version' => drush_drupal_version())));
drush_set_option('packages', _scrub_object(provision_find_packages()), 'drupal');
provision_drupal_push_site();
}