Add deprecation notice

pull/14655/head
Philipp 2025-01-02 13:03:28 +01:00
rodzic 9cdc1dde0e
commit efa912c373
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 24A7501396EB5432
4 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -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
*/
/**

Wyświetl plik

@ -6,6 +6,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*
* @deprecated 2025.01 use bin/console.php jetstream instead
*/
use Dice\Dice;

Wyświetl plik

@ -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");
}

Wyświetl plik

@ -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");
}