Move functions to system

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

View file

@ -4,13 +4,13 @@
*/
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Network\Probe;
use Friendica\Util\Network;
function probe_content(App $a)
{
if (!local_user()) {
Network::httpStatusExit(403, ["title" => L10n::t("Public access denied."),
System::httpExit(403, ["title" => L10n::t("Public access denied."),
"description" => L10n::t("Only logged in users are permitted to perform a probing.")]);
killme();
}