Mercurial > hg > isophonics-drupal-site
diff core/authorize.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/authorize.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/authorize.php Thu Feb 28 13:21:36 2019 +0000 @@ -113,7 +113,7 @@ $page_title = $results['page_title']; } if (!empty($results['page_message'])) { - drupal_set_message($results['page_message']['message'], $results['page_message']['type']); + \Drupal::messenger()->addMessage($results['page_message']['message'], $results['page_message']['type']); } $content['authorize_report'] = [ @@ -125,7 +125,7 @@ $links = $results['tasks']; } else { - // Since this is being called outsite of the primary front controller, + // Since this is being called outside of the primary front controller, // the base_url needs to be set explicitly to ensure that links are // relative to the site root. // @todo Simplify with https://www.drupal.org/node/2548095