mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 03:04:27 +02:00
Replace $parameters
argument per method with static::$parameters
This commit is contained in:
parent
018275919c
commit
714f0febc4
249 changed files with 710 additions and 775 deletions
|
@ -41,7 +41,7 @@ use Friendica\Protocol\Feed as ProtocolFeed;
|
|||
*/
|
||||
class Feed extends BaseModule
|
||||
{
|
||||
public static function content(array $parameters = [])
|
||||
public static function content()
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
|
@ -68,7 +68,7 @@ class Feed extends BaseModule
|
|||
}
|
||||
|
||||
header("Content-type: application/atom+xml; charset=utf-8");
|
||||
echo ProtocolFeed::atom($parameters['nickname'], $last_update, 10, $type, $nocache, true);
|
||||
echo ProtocolFeed::atom(static::$parameters['nickname'], $last_update, 10, $type, $nocache, true);
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue