Skip to content

Firefly III: a personal finances manager

Nice disable warning.

James Cole3ad155882acf
diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php
index 6a719c03d2..f2cbada3f5 100644
--- a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php
+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php
@@ -48,17 +48,20 @@ class MigrateRecurrenceType extends Command
*/
public function handle(): int
{
- return 0;
if ($this->isExecuted() && true !== $this->option('force')) {
$this->friendlyInfo('This command has already been executed.');
return 0;
}
-
- $this->migrateTypes();
- $this->markAsExecuted();
+ $this->friendlyWarning('This command has been disabled.');
return 0;
+
+
+// $this->migrateTypes();
+// $this->markAsExecuted();
+//
+// return 0;
}
private function isExecuted(): bool