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
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue