Skip to content

Commit

Permalink
Added bc for deprecated method for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuomaJuha committed Sep 23, 2024
1 parent 5d61597 commit e511025
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions module/Finna/src/Finna/Db/Row/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ public function __invoke(
$result = parent::__invoke($container, $requestedName, $options);
$ils = $container->get(\VuFind\ILS\Connection::class);
$result->setILS($ils);
// TODO: Use deprecated function set config for bc.
$config = $container->get(\VuFind\Config\PluginManager::class)->get('config');
$result->setConfig($config);
return $result;
}
}

0 comments on commit e511025

Please sign in to comment.