Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / update / update.authorize.inc
index 1c2cc60fb2e76c0dbbf54bc074bceef396c3421f..fea365a2cb19bee41633a71b27e49607ba6069f3 100644 (file)
@@ -253,7 +253,7 @@ function update_authorize_update_batch_finished($success, $results) {
     '#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 @@ function update_authorize_update_batch_finished($success, $results) {
       '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.