From 863977da66e3ffd0772201baedd3fd368859a5cb Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 10 Nov 2022 22:36:23 -0500 Subject: [PATCH] Fix constructor parameters in Module\Settings\RemoveMe - Address https://github.com/friendica/friendica/issues/11992#issuecomment-1311162326 --- src/Module/Settings/RemoveMe.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Module/Settings/RemoveMe.php b/src/Module/Settings/RemoveMe.php index b9a7f5c62..09365ed7b 100644 --- a/src/Module/Settings/RemoveMe.php +++ b/src/Module/Settings/RemoveMe.php @@ -40,8 +40,6 @@ use Psr\Log\LoggerInterface; class RemoveMe extends BaseSettings { - /** @var IHandleUserSessions */ - private $session; /** @var IManageConfigValues */ private $config; /** @var Database */ @@ -53,9 +51,9 @@ class RemoveMe extends BaseSettings /** @var Cookie */ private $cookie; - public function __construct(Cookie $cookie, SystemMessages $systemMessages, Emailer $emailer, Database $database, IManageConfigValues $config, IHandleUserSessions $session, L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = []) + public function __construct(Cookie $cookie, SystemMessages $systemMessages, Emailer $emailer, Database $database, IManageConfigValues $config, App\Page $page, IHandleUserSessions $session, L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, array $server, array $parameters = []) { - parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters); + parent::__construct($session, $page, $l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters); $this->session = $session; $this->config = $config;