mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:50:11 +00:00
Switch static::$parameters
to $this->parameters
This commit is contained in:
parent
489cd0884a
commit
5879535822
116 changed files with 321 additions and 314 deletions
|
@ -35,11 +35,11 @@ class PublicRSAKey extends BaseModule
|
|||
{
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['nick'])) {
|
||||
if (empty($this->parameters['nick'])) {
|
||||
throw new BadRequestException();
|
||||
}
|
||||
|
||||
$nick = static::$parameters['nick'];
|
||||
$nick = $this->parameters['nick'];
|
||||
|
||||
$user = User::getByNickname($nick, ['spubkey']);
|
||||
if (empty($user) || empty($user['spubkey'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue