X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FStatistics.php;h=3e64828e7b64b3dfe33897d9dad3dd85e703b4f7;hb=aeae65daf8514fe75dc165803de9973e49792f66;hp=566ace333144e4d0066b7cbbdd57d132f3951b6a;hpb=10114661d40b740146a66f75771aeddc17c4242e;p=friendica.git diff --git a/src/Module/Statistics.php b/src/Module/Statistics.php index 566ace3331..3e64828e7b 100644 --- a/src/Module/Statistics.php +++ b/src/Module/Statistics.php @@ -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(); } }