mirror of
https://github.com/friendica/friendica
synced 2025-05-02 21:04:24 +02:00
Many deprecated function calls are replaced
This commit is contained in:
parent
cfad5809ff
commit
60f5fd8188
28 changed files with 61 additions and 71 deletions
|
@ -43,7 +43,7 @@ class NoScrape extends BaseModule
|
|||
$which = $this->parameters['nick'];
|
||||
} elseif (DI::userSession()->getLocalUserId() && isset($this->parameters['profile']) && DI::args()->get(2) == 'view') {
|
||||
// view infos about a known profile (needs a login)
|
||||
$which = $a->getLoggedInUserNickname();
|
||||
$which = DI::userSession()->getLocalUserNickname();
|
||||
} else {
|
||||
$this->jsonError(403, 'Authentication required');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue