mirror of
https://github.com/friendica/friendica
synced 2025-04-29 13:44:23 +02: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
|
@ -51,10 +51,10 @@ class Receive extends BaseModule
|
|||
throw new HTTPException\ForbiddenException(DI::l10n()->t('Access denied.'));
|
||||
}
|
||||
|
||||
if (static::$parameters['type'] === 'public') {
|
||||
if ($this->parameters['type'] === 'public') {
|
||||
self::receivePublic();
|
||||
} else if (static::$parameters['type'] === 'users') {
|
||||
self::receiveUser(static::$parameters['guid']);
|
||||
} else if ($this->parameters['type'] === 'users') {
|
||||
self::receiveUser($this->parameters['guid']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue