implement feeback
This commit is contained in:
parent
b5bc1b0844
commit
f03c5c7f89
3 changed files with 5 additions and 6 deletions
|
@ -334,9 +334,9 @@ class App
|
|||
* @param L10n $l10n The translator instance
|
||||
* @param App\Arguments $args The Friendica Arguments of the call
|
||||
* @param IManagePersonalConfigValues $pConfig Personal configuration
|
||||
* @param IHandleUserSessions $sessions The (User)Session handler
|
||||
* @param IHandleUserSessions $session The (User)Session handler
|
||||
*/
|
||||
public function __construct(Database $database, IManageConfigValues $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, IManagePersonalConfigValues $pConfig, IHandleUserSessions $sessions)
|
||||
public function __construct(Database $database, IManageConfigValues $config, App\Mode $mode, BaseURL $baseURL, LoggerInterface $logger, Profiler $profiler, L10n $l10n, Arguments $args, IManagePersonalConfigValues $pConfig, IHandleUserSessions $session)
|
||||
{
|
||||
$this->database = $database;
|
||||
$this->config = $config;
|
||||
|
@ -347,7 +347,7 @@ class App
|
|||
$this->l10n = $l10n;
|
||||
$this->args = $args;
|
||||
$this->pConfig = $pConfig;
|
||||
$this->session = $sessions;
|
||||
$this->session = $session;
|
||||
|
||||
$this->load();
|
||||
}
|
||||
|
|
|
@ -500,7 +500,7 @@ class Conversation
|
|||
|
||||
if (!$update) {
|
||||
$live_update_div = '<div id="live-display"></div>' . "\r\n"
|
||||
. "<script> var profile_uid = " . $this->session->getLocalUserId() ?? 0 . ";"
|
||||
. "<script> var profile_uid = " . ($this->session->getLocalUserId() ?: 0) . ";"
|
||||
. "</script>";
|
||||
}
|
||||
} elseif ($mode === 'community') {
|
||||
|
|
|
@ -44,8 +44,7 @@ class Logout extends BaseModule
|
|||
protected $cache;
|
||||
/** @var Cookie */
|
||||
protected $cookie;
|
||||
/** @var IHandleUserSessions
|
||||
*/
|
||||
/** @var IHandleUserSessions */
|
||||
protected $session;
|
||||
|
||||
public function __construct(L10n $l10n, App\BaseURL $baseUrl, App\Arguments $args, LoggerInterface $logger, Profiler $profiler, Response $response, ICanCache $cache, Cookie $cookie, IHandleUserSessions $session, array $server, array $parameters = [])
|
||||
|
|
Loading…
Reference in a new issue