Skip to content
Snippets Groups Projects
Commit 6a13b6a8 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2062183 by cloud2006, LinL, m1r1k, likin: Remove calls to deprecated...

Issue #2062183 by cloud2006, LinL, m1r1k, likin: Remove calls to deprecated global  in core/modules/user/lib/Drupal/user/AccountFormController.php.
parent 0078cea2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -48,7 +48,7 @@ public static function create(ContainerInterface $container) {
*/
public function form(array $form, array &$form_state) {
$account = $this->entity;
global $user;
$user = $this->currentUser();
$config = \Drupal::config('user.settings');
$language_interface = language(Language::TYPE_INTERFACE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment