diff core/modules/update/update.authorize.inc @ 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/modules/update/update.authorize.inc	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/update/update.authorize.inc	Thu Feb 28 13:21:36 2019 +0000
@@ -253,7 +253,7 @@
     '#type' => 'link',
     '#url' => $url,
     '#title' => t('Run database updates'),
-    // 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
@@ -261,7 +261,7 @@
       'absolute' => TRUE,
       'base_url' => $GLOBALS['base_url'],
     ],
-    '#access' => $url->access(\Drupal::currentUser())
+    '#access' => $url->access(\Drupal::currentUser()),
   ];
 
   // Unset the variable since it is no longer needed.