Commit d15029df authored by ergonlogic's avatar ergonlogic

Fix retrieving cron key for D8 sites.

parent c5a3aa45
......@@ -2,4 +2,4 @@
// Fetch the cron key from the Drupal site and set in a drush context.
drush_set_option('cron_key', variable_get('cron_key', 'drupal'));
\ No newline at end of file
drush_set_option('cron_key', \Drupal::state()->get('system.cron_key'));
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