mirror of
https://github.com/friendica/friendica
synced 2025-05-06 06:24:11 +02:00
Remove deprecated App::module - replace with DI::module()->getName()
This commit is contained in:
parent
33674808dc
commit
4835f1185f
8 changed files with 72 additions and 49 deletions
|
@ -57,8 +57,6 @@ class App
|
|||
public $argv;
|
||||
/** @deprecated 2019.09 - use App\Arguments->getArgc() */
|
||||
public $argc;
|
||||
/** @deprecated 2019.09 - Use App\Module->getName() instead */
|
||||
public $module;
|
||||
public $timezone;
|
||||
public $interactive = true;
|
||||
public $identities;
|
||||
|
@ -156,7 +154,7 @@ class App
|
|||
* @param App\Arguments $args The Friendica Arguments of the call
|
||||
* @param Core\Process $process The process methods
|
||||
*/
|
||||
public function __construct(Database $database, Configuration $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, App\Module $module, App\Page $page, Core\Process $process)
|
||||
public function __construct(Database $database, Configuration $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, App\Page $page, Core\Process $process)
|
||||
{
|
||||
$this->database = $database;
|
||||
$this->config = $config;
|
||||
|
@ -170,7 +168,6 @@ class App
|
|||
|
||||
$this->argv = $args->getArgv();
|
||||
$this->argc = $args->getArgc();
|
||||
$this->module = $module->getName();
|
||||
$this->page = $page;
|
||||
|
||||
$this->load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue