updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
@@ -12,6 +12,8 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
/**
|
||||
* Configure update settings for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class UpdateManagerInstall extends FormBase {
|
||||
|
||||
@@ -212,7 +214,7 @@ class UpdateManagerInstall extends FormBase {
|
||||
return;
|
||||
}
|
||||
|
||||
$project_real_location = drupal_realpath($project_location);
|
||||
$project_real_location = \Drupal::service('file_system')->realpath($project_location);
|
||||
$arguments = [
|
||||
'project' => $project,
|
||||
'updater_name' => get_class($updater),
|
||||
|
||||
@@ -11,6 +11,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Configure update settings for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class UpdateManagerUpdate extends FormBase {
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
/**
|
||||
* Configure update settings for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class UpdateReady extends FormBase {
|
||||
|
||||
@@ -136,7 +138,7 @@ class UpdateReady extends FormBase {
|
||||
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),
|
||||
|
||||
@@ -10,6 +10,8 @@ use Egulias\EmailValidator\EmailValidator;
|
||||
|
||||
/**
|
||||
* Configure update settings for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class UpdateSettingsForm extends ConfigFormBase implements ContainerInjectionInterface {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user