mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add fast option to check data
This commit is contained in:
parent
0545f73628
commit
90d5494e39
@ -42,6 +42,10 @@ Options:
|
||||
By default the script only checks for errors, adding this option
|
||||
makes the script apply the fixes.
|
||||
|
||||
--fast=true
|
||||
|
||||
Skip using phantomjs
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -144,7 +148,7 @@ class CheckData extends Command
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->option('fix') == 'true') {
|
||||
if ($this->option('fix') == 'true' || $this->option('fast') == 'true') {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -792,6 +796,7 @@ class CheckData extends Command
|
||||
{
|
||||
return [
|
||||
['fix', null, InputOption::VALUE_OPTIONAL, 'Fix data', null],
|
||||
['fast', null, InputOption::VALUE_OPTIONAL, 'Fast', null],
|
||||
['client_id', null, InputOption::VALUE_OPTIONAL, 'Client id', null],
|
||||
['database', null, InputOption::VALUE_OPTIONAL, 'Database', null],
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user