mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Centralize deprecated check
This commit is contained in:
parent
77c9f54f5c
commit
b9dde78466
4 changed files with 15 additions and 9 deletions
|
@ -93,9 +93,7 @@ HELP;
|
|||
|
||||
protected function doExecute()
|
||||
{
|
||||
if (substr($this->executable, -strlen('bin/console.php')) !== 'bin/console.php') {
|
||||
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php daemon' instead", $this->executable));
|
||||
}
|
||||
$this->checkDeprecated('daemon');
|
||||
|
||||
if ($this->mode->isInstall()) {
|
||||
throw new RuntimeException("Friendica isn't properly installed yet");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue