]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Feed.php
Merge pull request #7413 from annando/issue-6675
[friendica.git] / src / Module / Feed.php
index eabd45da23eef073fef2af295390a2b3bdd4fa0a..15b2026e2c246559668a4e30df495e8a811280d0 100644 (file)
@@ -3,7 +3,6 @@
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
-use Friendica\Core\System;
 use Friendica\Protocol\OStatus;
 
 /**
@@ -33,7 +32,7 @@ class Feed extends BaseModule
 
                // @TODO: Replace with parameter from router
                if ($a->argc < 2) {
-                       System::httpExit(400);
+                       throw new \Friendica\Network\HTTPException\BadRequestException();
                }
 
                $type = null;