Add deprecation notice

This commit is contained in:
Philipp 2025-01-02 13:03:28 +01:00
parent 9cdc1dde0e
commit efa912c373
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
4 changed files with 11 additions and 0 deletions

View file

@ -90,6 +90,10 @@ HELP;
protected function doExecute()
{
if ($this->executable != 'bin/console.php') {
$this->out(sprintf("Deprecated use of '%s', use '%s daemon' instead", $this->executable, 'bin/console.php'));
}
if ($this->mode->isInstall()) {
throw new RuntimeException("Friendica isn't properly installed yet");
}