mirror of
https://github.com/friendica/friendica
synced 2025-05-06 07:04:10 +02:00
Remove deprecated App::cmd - replace with DI::args()->getCommand()
This commit is contained in:
parent
e6f61c2cc7
commit
33674808dc
16 changed files with 23 additions and 25 deletions
|
@ -53,8 +53,6 @@ class App
|
|||
public $page_contact;
|
||||
public $content;
|
||||
public $data = [];
|
||||
/** @deprecated 2019.09 - use App\Arguments->getCommand() */
|
||||
public $cmd = '';
|
||||
/** @deprecated 2019.09 - use App\Arguments->getArgv() or Arguments->get() */
|
||||
public $argv;
|
||||
/** @deprecated 2019.09 - use App\Arguments->getArgc() */
|
||||
|
@ -170,7 +168,6 @@ class App
|
|||
$this->args = $args;
|
||||
$this->process = $process;
|
||||
|
||||
$this->cmd = $args->getCommand();
|
||||
$this->argv = $args->getArgv();
|
||||
$this->argc = $args->getArgc();
|
||||
$this->module = $module->getName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue