mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
Move Core\Session::set() to DI::session()->set()
This commit is contained in:
parent
dfb5792773
commit
3a8bcb3fbf
7 changed files with 7 additions and 12 deletions
|
@ -634,8 +634,8 @@ class App
|
|||
if ((parse_url($_GET['zrl'], PHP_URL_QUERY) == '') &&
|
||||
strstr(parse_url($_GET['zrl'], PHP_URL_PATH), '/profile/')) {
|
||||
if ($this->session->get('visitor_home') != $_GET['zrl']) {
|
||||
Core\Session::set('my_url', $_GET['zrl']);
|
||||
Core\Session::set('authenticated', 0);
|
||||
$this->session->set('my_url', $_GET['zrl']);
|
||||
$this->session->set('authenticated', 0);
|
||||
|
||||
$remote_contact = Contact::getByURL($_GET['zrl'], false, ['subscribe']);
|
||||
if (!empty($remote_contact['subscribe'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue