Commit 30da57fb authored by alexpott's avatar alexpott

Issue #2095641 by m1r1k: Use current_user() service instead of _account...

Issue #2095641 by m1r1k: Use current_user() service instead of _account attribute to get user object.
parent ff71f796
......@@ -111,7 +111,7 @@ static public function create(ContainerInterface $container, array $configuratio
$container->get('module_handler'),
$container->get('config.factory')->get('search.settings'),
$container->get('keyvalue')->get('state'),
$container->get('request')->attributes->get('_account')
$container->get('current_user')
);
}
......
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