mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Code cleaning stuff.
This commit is contained in:
@@ -49,6 +49,7 @@ class AccountFactory
|
||||
|
||||
/**
|
||||
* AccountFactory constructor.
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function __construct()
|
||||
@@ -103,7 +104,7 @@ class AccountFactory
|
||||
// use default currency:
|
||||
$currency = app('amount')->getDefaultCurrencyByUser($this->user);
|
||||
}
|
||||
$currency->enabled =true;
|
||||
$currency->enabled = true;
|
||||
$currency->save();
|
||||
|
||||
unset($data['currency_code']);
|
||||
|
Reference in New Issue
Block a user