Remove unnecessary code

This commit is contained in:
James Cole
2023-12-16 16:16:06 +01:00
parent 698c1f6c7e
commit b91a938a60
2 changed files with 52 additions and 53 deletions

View File

@@ -69,7 +69,6 @@ class EnableCurrencies extends Command
{
/** @var CurrencyRepositoryInterface $repos */
$repos = app(CurrencyRepositoryInterface::class);
$repos->setUserGroup($userGroup);
// first check if the user has any default currency (not necessarily the case, so can be forced).
$defaultCurrency = app('amount')->getDefaultCurrencyByUserGroup($userGroup);