mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00: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
|
@ -679,10 +679,11 @@ class Profile
|
|||
* Retrieves the my_url session variable
|
||||
*
|
||||
* @return string
|
||||
* @deprecated since version 2022.12, please use UserSession->getMyUrl instead
|
||||
*/
|
||||
public static function getMyURL(): string
|
||||
{
|
||||
return DI::session()->get('my_url') ?? '';
|
||||
return DI::userSession()->getMyUrl();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue