]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Statistics.php
Merge remote-tracking branch 'upstream/develop' into api4
[friendica.git] / src / Module / Statistics.php
index bcb6ad86b448096a9fa46d9984695dc2e4311c36..a78031c369afc1a13bfee73a31a16ef803b8b635 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -28,14 +28,14 @@ use Friendica\Network\HTTPException\NotFoundException;
 
 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();