code standards :-)

This commit is contained in:
Philipp Holzer 2019-05-01 19:48:49 +02:00
parent faae48959e
commit a47a6a0cd9
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
2 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ class WebFinger extends BaseModule
System::httpExit(
403,
[
'title' => L10n::t("Public access denied."),
'description' => L10n::t("Only logged in users are permitted to perform a probing.")
]
'title' => L10n::t('Public access denied.'),
'description' => L10n::t('Only logged in users are permitted to perform a probing.'),
],
);
exit();
}

View File

@ -33,7 +33,7 @@ class XSocialRelay extends BaseModule
/// @todo Check if it was better to use "strtolower" on the tags
foreach ($tagitems AS $tag) {
$systemTags[] = trim($tag, "# ");
$systemTags[] = trim($tag, '# ');
}
if ($config->get('system', 'relay_user_tags')) {