code standards :-)
This commit is contained in:
parent
2ae4b9f7e9
commit
faae48959e
1 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,8 @@ class WebFinger extends BaseModule
|
||||||
System::httpExit(
|
System::httpExit(
|
||||||
403,
|
403,
|
||||||
[
|
[
|
||||||
"title" => L10n::t("Public access denied."),
|
'title' => L10n::t("Public access denied."),
|
||||||
"description" => L10n::t("Only logged in users are permitted to perform a probing.")
|
'description' => L10n::t("Only logged in users are permitted to perform a probing.")
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
exit();
|
exit();
|
||||||
|
@ -41,8 +41,8 @@ class WebFinger extends BaseModule
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('webfinger.tpl');
|
$tpl = Renderer::getMarkupTemplate('webfinger.tpl');
|
||||||
return Renderer::replaceMacros($tpl, [
|
return Renderer::replaceMacros($tpl, [
|
||||||
'$addr' => $addr,
|
'$addr' => $addr,
|
||||||
'$res' => $res,
|
'$res' => $res,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue