mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23: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
|
@ -40,11 +40,11 @@ class Fetch extends BaseModule
|
|||
{
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['guid'])) {
|
||||
if (empty($this->parameters['guid'])) {
|
||||
throw new HTTPException\NotFoundException();
|
||||
}
|
||||
|
||||
$guid = static::$parameters['guid'];
|
||||
$guid = $this->parameters['guid'];
|
||||
|
||||
// Fetch the item
|
||||
$condition = ['origin' => true, 'private' => [Item::PUBLIC, Item::UNLISTED], 'guid' => $guid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue