Fix constructor parameters in Module\Settings\RemoveMe
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1311162326
This commit is contained in:
parent
f9ab5b0669
commit
863977da66
1 changed files with 2 additions and 4 deletions
|
@ -40,8 +40,6 @@ use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class RemoveMe extends BaseSettings
|
class RemoveMe extends BaseSettings
|
||||||
{
|
{
|
||||||
/** @var IHandleUserSessions */
|
|
||||||
private $session;
|
|
||||||
/** @var IManageConfigValues */
|
/** @var IManageConfigValues */
|
||||||
private $config;
|
private $config;
|
||||||
/** @var Database */
|
/** @var Database */
|
||||||
|
@ -53,9 +51,9 @@ class RemoveMe extends BaseSettings
|
||||||
/** @var Cookie */
|
/** @var Cookie */
|
||||||
private $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->session = $session;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
|
Loading…
Reference in a new issue