Skip to content

Firefly III: a personal finances manager

Rename command.

James Cole4b3eb6daceef
diff --git a/app/Console/Commands/Correction/CorrectBalanceAmounts.php b/app/Console/Commands/Correction/CorrectAccountBalance.php
similarity index 87%
rename from app/Console/Commands/Correction/CorrectBalanceAmounts.php
rename to app/Console/Commands/Correction/CorrectAccountBalance.php
index 54f0fc9096..aef80c368e 100644
--- a/app/Console/Commands/Correction/CorrectBalanceAmounts.php
+++ b/app/Console/Commands/Correction/CorrectAccountBalance.php
@@ -10,13 +10,12 @@ use stdClass;
/**
* Class CorrectionSkeleton
- * TODO DONT FORGET TO ADD THIS TO THE DOCKER BUILD
*/
-class CorrectBalanceAmounts extends Command
+class CorrectAccountBalance extends Command
{
protected $description = 'Recalculate all account balance amounts';
- protected $signature = 'firefly-iii:correct-balance-amounts';
+ protected $signature = 'firefly-iii:correct-account-balance';
/**
* @return int
diff --git a/app/Console/Commands/Correction/CorrectDatabase.php b/app/Console/Commands/Correction/CorrectDatabase.php
index e7286ef62f..d5d127b3f2 100644
--- a/app/Console/Commands/Correction/CorrectDatabase.php
+++ b/app/Console/Commands/Correction/CorrectDatabase.php
@@ -74,7 +74,7 @@ class CorrectDatabase extends Command
'firefly-iii:unify-group-accounts',
'firefly-iii:trigger-credit-recalculation',
'firefly-iii:migrate-preferences',
- 'firefly-iii:correct-balance-amounts',
+ 'firefly-iii:correct-account-balance',
];
foreach ($commands as $command) {
$this->friendlyLine(sprintf('Now executing command "%s"', $command));
diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php
index 365c041f37..2440e93777 100644
--- a/app/Http/Controllers/DebugController.php
+++ b/app/Http/Controllers/DebugController.php
@@ -93,7 +93,7 @@ class DebugController extends Controller
Artisan::call('view:clear');
// also do some recalculations.
- Artisan::call('firefly-iii:correct-balance-amounts');
+ Artisan::call('firefly-iii:correct-account-balance');
Artisan::call('firefly-iii:trigger-credit-recalculation');
try {