code standards :-)
This commit is contained in:
parent
faae48959e
commit
a47a6a0cd9
|
@ -19,9 +19,9 @@ 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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ class XSocialRelay extends BaseModule
|
||||||
|
|
||||||
/// @todo Check if it was better to use "strtolower" on the tags
|
/// @todo Check if it was better to use "strtolower" on the tags
|
||||||
foreach ($tagitems AS $tag) {
|
foreach ($tagitems AS $tag) {
|
||||||
$systemTags[] = trim($tag, "# ");
|
$systemTags[] = trim($tag, '# ');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config->get('system', 'relay_user_tags')) {
|
if ($config->get('system', 'relay_user_tags')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user