Dont show deprecation message twice

This commit is contained in:
Art4 2025-01-22 15:47:49 +00:00
parent 69830b9c03
commit 23fcb4f87f
3 changed files with 6 additions and 9 deletions

View file

@ -9,6 +9,7 @@ declare(strict_types=1);
namespace Friendica\Console;
use Asika\SimpleConsole\Console;
use Friendica\App\Mode;
use Friendica\Core\Addon;
use Friendica\Core\Config\Capability\IManageConfigValues;
@ -22,7 +23,7 @@ use RuntimeException;
/**
* Console command for interacting with the daemon
*/
final class JetstreamDaemon extends AbstractConsole
final class JetstreamDaemon extends Console
{
public const LOG_CHANNEL = LogChannel::DAEMON;
@ -79,8 +80,6 @@ HELP;
protected function doExecute()
{
$this->checkDeprecated('jetstream');
if ($this->mode->isInstall()) {
throw new RuntimeException("Friendica isn't properly installed yet");
}