mirror of
https://github.com/friendica/friendica
synced 2025-04-24 06:30:13 +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
|
@ -47,7 +47,7 @@ class Advanced extends BaseModule
|
|||
|
||||
public function post()
|
||||
{
|
||||
$cid = static::$parameters['id'];
|
||||
$cid = $this->parameters['id'];
|
||||
|
||||
$contact = Model\Contact::selectFirst([], ['id' => $cid, 'uid' => local_user()]);
|
||||
if (empty($contact)) {
|
||||
|
@ -98,7 +98,7 @@ class Advanced extends BaseModule
|
|||
|
||||
public function content(): string
|
||||
{
|
||||
$cid = static::$parameters['id'];
|
||||
$cid = $this->parameters['id'];
|
||||
|
||||
$contact = Model\Contact::selectFirst([], ['id' => $cid, 'uid' => local_user()]);
|
||||
if (empty($contact)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue