mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Move functions to system
move some functions to system
This commit is contained in:
parent
f04d40a37e
commit
9b8599b619
21 changed files with 169 additions and 169 deletions
|
@ -7,12 +7,12 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Core\System;
|
||||
|
||||
function statistics_json_init(App $a) {
|
||||
|
||||
if (!Config::get("system", "nodeinfo")) {
|
||||
Network::httpStatusExit(404);
|
||||
System::httpExit(404);
|
||||
killme();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue