]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ActivityPub/Outbox.php
Move mod/ping to module class
[friendica.git] / src / Module / ActivityPub / Outbox.php
index fe838960d581766b8a9db6518160c537e940d42b..3fa143cfbdfcdb5a6aceff4c75f74d81c54f3592 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -31,13 +31,13 @@ use Friendica\Util\HTTPSignature;
  */
 class Outbox extends BaseModule
 {
-       public static function rawContent(array $parameters = [])
+       protected function rawContent(array $request = [])
        {
-               if (empty($parameters['nickname'])) {
+               if (empty($this->parameters['nickname'])) {
                        throw new \Friendica\Network\HTTPException\NotFoundException();
                }
 
-               $owner = User::getOwnerDataByNick($parameters['nickname']);
+               $owner = User::getOwnerDataByNick($this->parameters['nickname']);
                if (empty($owner)) {
                        throw new \Friendica\Network\HTTPException\NotFoundException();
                }