Commit e98d144c authored by anarcat's avatar anarcat

add @deprecated notices for the hack introduced for #1047922

parent 6212c40b
......@@ -64,6 +64,10 @@ We are making the following assumptions:
// add a server record :
$server = '@server_master';
/**
* @deprecated in drush3 it's 'options', in drush 4 it's 'cli', drop
* 'options' when we drop drush3 support
*/
$context = drush_get_context('cli') ? 'cli' : 'options';
drush_backend_invoke_args("provision-save", array($server), array(
'context_type' => 'server',
......
......@@ -2,6 +2,10 @@
// $Id$
$new_url = d()->uri;
/**
* @deprecated in drush3 it's 'options', in drush 4 it's 'cli', drop
* 'options' when we drop drush3 support
*/
$context = drush_get_context('cli') ? 'cli' : 'options';
$old_url = drush_get_option('old_uri', $new_url, $context);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment