X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FWellKnown%2FXSocialRelay.php;h=bf767a3e7ba0f0d34b5570ab42596a9629dc73e6;hb=69b7923df2beed71419bc38e61ca9755fad24b12;hp=6dcd65c50584ad19bfb5de75f2963ecb076a4fb7;hpb=bc58cb9b94e2553fa02a874b6c52ebe50e487833;p=friendica.git diff --git a/src/Module/WellKnown/XSocialRelay.php b/src/Module/WellKnown/XSocialRelay.php index 6dcd65c505..bf767a3e7b 100644 --- a/src/Module/WellKnown/XSocialRelay.php +++ b/src/Module/WellKnown/XSocialRelay.php @@ -1,6 +1,6 @@ get('system', 'relay_server_tags'); $tagitems = explode(',', $server_tags); /// @todo Check if it was better to use "strtolower" on the tags - foreach ($tagitems AS $tag) { + foreach ($tagitems as $tag) { $systemTags[] = trim($tag, '# '); } @@ -57,7 +58,7 @@ class XSocialRelay extends BaseModule $tagList = array_unique(array_merge($systemTags, $userTags)); $relay = [ - 'subscribe' => ($scope != SR_SCOPE_NONE), + 'subscribe' => ($scope != Relay::SCOPE_NONE), 'scope' => $scope, 'tags' => $tagList, 'protocols' => [