Move xml_status and http_status_exit

move functions
This commit is contained in:
Adam Magness 2018-01-26 23:37:55 -05:00
parent a32ba32ff4
commit cd3643d174
18 changed files with 87 additions and 85 deletions

View file

@ -4,6 +4,7 @@ namespace Friendica\Module;
use Friendica\BaseModule;
use Friendica\Protocol\OStatus;
use Friendica\Util\Network;
/**
* Provides public Atom feeds
@ -31,7 +32,7 @@ class Feed extends BaseModule
$nocache = x($_GET, 'nocache') && local_user();
if ($a->argc < 2) {
http_status_exit(400);
Network::httpStatusExit(400);
}
$type = null;