Skip to content

Commit

Permalink
Fix deprecated call to drush_get_context.
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Jul 1, 2019
1 parent 2ad084b commit f980885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/drush-request-trace.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
putenv('HTTP_HOST=' . $_SERVER['HTTP_HOST']);

if (function_exists('drush_get_context')) {
$cli_args = drush_get_context('argv');
$cli_args = $GLOBALS['argv'];
$cli_args[0] = 'drush';

// Ensure each argument is wrapped in quotes.
Expand Down

0 comments on commit f980885

Please sign in to comment.