]> git.mxchange.org Git - friendica.git/commitdiff
Coding standards
authorMichael <heluecht@pirati.ca>
Thu, 3 Jun 2021 05:18:22 +0000 (05:18 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 3 Jun 2021 05:18:22 +0000 (05:18 +0000)
src/Module/Api/Mastodon/Instance/Rules.php

index fa5d6d8b60fc249efa472d968f0d686b4bb3f050..9b7d2dc77f1b0ac02a8a311bcdf93340f65d31df 100644 (file)
@@ -40,10 +40,11 @@ class Rules extends BaseApi
        public static function rawContent(array $parameters = [])
        {
                $rules = [];
-               $id = 0;
+               $id    = 0;
 
                if (DI::config()->get('system', 'tosdisplay')) {
                        $html = BBCode::convert(DI::config()->get('system', 'tostext'), false, BBCode::EXTERNAL);
+
                        $msg = HTML::toPlaintext($html, 0, true);
                        foreach (explode("\n", $msg) as $line) {
                                $line = trim($line);