mirror of
https://github.com/friendica/friendica
synced 2025-04-28 16:24:25 +02:00
Fix returns in Console commands
This commit is contained in:
parent
01ba276455
commit
4b971f84fd
3 changed files with 7 additions and 4 deletions
|
@ -122,7 +122,7 @@ HELP;
|
|||
case 'search':
|
||||
return $this->searchUser();
|
||||
case 'config':
|
||||
return $this->configUser();
|
||||
return ($this->configUser()) ? 0 : 1;
|
||||
default:
|
||||
throw new \Asika\SimpleConsole\CommandArgsException('Wrong command.');
|
||||
}
|
||||
|
@ -513,6 +513,6 @@ HELP;
|
|||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue