mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Nice disable warning.
This commit is contained in:
parent
4747e28621
commit
3ad155882a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user