summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Rossouw2010-06-03 01:30:22 (GMT)
committerAdrian Rossouw2010-06-03 01:30:22 (GMT)
commit756923ede980e26cc5bc1b19433b994540b8de51 (patch)
tree1421e291b1f79893e47023302a9b75dccc67cc99
parent093de6b95d5c18c9721c335a76af77058c8d1cde (diff)
remove some more instances of publish_pathdev-envobject
-rw-r--r--platform/provision_drupal.drush.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/provision_drupal.drush.inc b/platform/provision_drupal.drush.inc
index 62261b0..4ce1ea8 100644
--- a/platform/provision_drupal.drush.inc
+++ b/platform/provision_drupal.drush.inc
@@ -397,7 +397,7 @@ function _provision_drupal_maintain_aliases() {
}
foreach($aliases as $alias) {
if (trim($alias)) {
- provision_service('file')->symlink(drush_get_option('uri'), drush_get_option('publish_path') . '/sites/' . $alias)
+ provision_service('file')->symlink(d()->uri, d()->root . '/sites/' . $alias)
->succeed('Created symlink for alias @target')
->fail('Could not create symlink for alias @target');
}
@@ -421,7 +421,7 @@ function _provision_drupal_delete_aliases($aliases, $silent = false) {
}
foreach ($aliases as $alias) {
if ($alias = trim($alias)) {
- provision_service('file')->unlink(drush_get_option('publish_path') . '/sites/' . $alias)
+ provision_service('file')->unlink(d()->root . '/sites/' . $alias)
->succeed('Removed symlink for alias @path')
->fail($error);
}