]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/WellKnown/XSocialRelay.php
Merge pull request #7848 from annando/mail-hooks
[friendica.git] / src / Module / WellKnown / XSocialRelay.php
index 33e58d0c5ca2bc592beedd285605a8065a045734..5d8f4e817c1c558378fc824f041a2143179baecc 100644 (file)
@@ -11,7 +11,7 @@ use Friendica\Model\Search;
  */
 class XSocialRelay extends BaseModule
 {
-       public static function rawContent()
+       public static function rawContent(array $parameters = [])
        {
                $app = self::getApp();
                $config = $app->getConfig();
@@ -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')) {