<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class Statistics extends BaseModule
{
- public static function init(array $parameters = [])
+ public function init()
{
if (!DI::config()->get("system", "nodeinfo")) {
throw new NotFoundException();
}
}
- public static function rawContent(array $parameters = [])
+ public function rawContent()
{
$config = DI::config();
$logger = DI::logger();