Move functions to system

move some functions to system
This commit is contained in:
Adam Magness
2018-01-27 11:59:10 -05:00
parent f04d40a37e
commit 9b8599b619
21 changed files with 169 additions and 169 deletions

View File

@@ -22,12 +22,12 @@ function nodeinfo_wellknown(App $a) {
function nodeinfo_init(App $a) {
if (!Config::get('system', 'nodeinfo')) {
Network::httpStatusExit(404);
System::httpExit(404);
killme();
}
if (($a->argc != 2) || ($a->argv[1] != '1.0')) {
Network::httpStatusExit(404);
System::httpExit(404);
killme();
}