Mercurial > hg > isophonics-drupal-site
diff core/modules/update/src/Form/UpdateReady.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/update/src/Form/UpdateReady.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/update/src/Form/UpdateReady.php Mon Apr 23 09:46:53 2018 +0100 @@ -13,6 +13,8 @@ /** * Configure update settings for this site. + * + * @internal */ class UpdateReady extends FormBase { @@ -136,7 +138,7 @@ foreach ($projects as $project => $url) { $project_location = $directory . '/' . $project; $updater = Updater::factory($project_location, $this->root); - $project_real_location = drupal_realpath($project_location); + $project_real_location = \Drupal::service('file_system')->realpath($project_location); $updates[] = [ 'project' => $project, 'updater_name' => get_class($updater),