mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 16:06:18 +02:00
Move Model\Profile::getMyUrl to UserSessions
This commit is contained in:
parent
6a205b2e10
commit
3865733e18
3 changed files with 15 additions and 1 deletions
|
@ -110,6 +110,12 @@ class UserSession implements IHandleUserSessions
|
|||
return array_search($cid, $this->session->get('remote'));
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public function getMyUrl(): string
|
||||
{
|
||||
return $this->session->get('my_url', '');
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public function isAuthenticated(): bool
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue