]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Inbox.php
Remove uneeded variable.
[friendica.git] / src / Module / Inbox.php
index 5367adb7e1c8f9e53f55920b7cecc72ec37ab31f..2cc273b139910c647a141b42bcf484fcdcd58fee 100644 (file)
@@ -12,6 +12,7 @@ use Friendica\Core\System;
 use Friendica\Database\DBA;
 use Friendica\Protocol\ActivityPub;
 use Friendica\Util\HTTPSignature;
+use Friendica\Util\Network;
 
 /**
  * ActivityPub Inbox
@@ -22,7 +23,7 @@ class Inbox extends BaseModule
        {
                $a = self::getApp();
 
-               $postdata = file_get_contents('php://input');
+               $postdata = Network::postdata();
 
                if (empty($postdata)) {
                        throw new \Friendica\Network\HTTPException\BadRequestException();