]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Statistics.php
[frio] Add jotnet fields to compose page
[friendica.git] / src / Module / Statistics.php
index 566ace333144e4d0066b7cbbdd57d132f3951b6a..3e64828e7b64b3dfe33897d9dad3dd85e703b4f7 100644 (file)
@@ -13,7 +13,7 @@ class Statistics extends BaseModule
                $config = self::getApp()->getConfig();
 
                if (!$config->get("system", "nodeinfo")) {
-                       System::httpExit(404);
+                       throw new \Friendica\Network\HTTPException\NotFoundException();
                }
        }