mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 11:54:32 +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
|
@ -33,9 +33,9 @@ use Friendica\Module\Conversation\Community as CommunityModule;
|
|||
*/
|
||||
class Community extends CommunityModule
|
||||
{
|
||||
public static function rawContent(array $parameters = [])
|
||||
public static function rawContent()
|
||||
{
|
||||
self::parseRequest($parameters);
|
||||
self::parseRequest();
|
||||
|
||||
$o = '';
|
||||
if (!empty($_GET['force']) || !DI::pConfig()->get(local_user(), 'system', 'no_auto_update')) {
|
||||
|
|
|
@ -9,13 +9,13 @@ use Friendica\Module\Conversation\Network as NetworkModule;
|
|||
|
||||
class Network extends NetworkModule
|
||||
{
|
||||
public static function rawContent(array $parameters = [])
|
||||
public static function rawContent()
|
||||
{
|
||||
if (!isset($_GET['p']) || !isset($_GET['item'])) {
|
||||
exit();
|
||||
}
|
||||
|
||||
self::parseRequest($parameters, $_GET);
|
||||
self::parseRequest($_GET);
|
||||
|
||||
$profile_uid = intval($_GET['p']);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ use Friendica\Util\DateTimeFormat;
|
|||
|
||||
class Profile extends BaseModule
|
||||
{
|
||||
public static function rawContent(array $parameters = [])
|
||||
public static function rawContent()
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue