<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
use Dice\Dice;
use Friendica;
+use Friendica\App;
/**
* Description of Console
$command = null;
if ($this->getOption('version')) {
- $this->out('Friendica Console version ' . FRIENDICA_VERSION);
+ $this->out('Friendica Console version ' . App::VERSION);
return 0;
} elseif ((count($this->options) === 0 || $this->getOption($this->customHelpOptions) === true || $this->getOption($this->customHelpOptions) === 1) && count($this->args) === 0