mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:50:12 +00:00
Reduce the parameter chaos by splitting the update function
This commit is contained in:
parent
90f1175cf5
commit
8eb3bddc2a
6 changed files with 60 additions and 18 deletions
|
@ -106,7 +106,7 @@ HELP;
|
|||
|
||||
switch ($this->getArgument(0)) {
|
||||
case "dryrun":
|
||||
$output = DBStructure::update($basePath, true, false);
|
||||
$output = DBStructure::dryRun();
|
||||
break;
|
||||
case "update":
|
||||
$force = $this->getOption(['f', 'force'], false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue