mirror of
https://github.com/friendica/friendica
synced 2025-01-08 02:44:43 +00:00
Add deprecation notice
This commit is contained in:
parent
9cdc1dde0e
commit
efa912c373
4 changed files with 11 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*
|
||||
* @deprecated 2025.01 use bin/console.php daemon instead
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*
|
||||
* @deprecated 2025.01 use bin/console.php jetstream instead
|
||||
*/
|
||||
|
||||
use Dice\Dice;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -77,6 +77,10 @@ HELP;
|
|||
|
||||
protected function doExecute()
|
||||
{
|
||||
if ($this->executable != 'bin/console.php') {
|
||||
$this->out(sprintf("Deprecated use of '%s', use '%s jetstream' instead", $this->executable, 'bin/console.php'));
|
||||
}
|
||||
|
||||
if ($this->mode->isInstall()) {
|
||||
throw new RuntimeException("Friendica isn't properly installed yet");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue