Commit 6a13b6a8 authored by alexpott's avatar alexpott

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
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment