]> git.mxchange.org Git - friendica.git/blobdiff - include/msgclean.php
The function "construct_acl_data" isn't used at all, it seems. it is deactivated now
[friendica.git] / include / msgclean.php
index 3b5ed5487de87d1837cba6c4c7db3259b572244f..9e8ebed790ef23ef274a41528a93078c6cdb6165 100644 (file)
@@ -154,7 +154,7 @@ function removelinebreak($message)
        $lines = array();
        $lineno = 0;
 
-       foreach($arrbody as $i => $line) {
+       foreach ($arrbody as $i => $line) {
                $currquotelevel = 0;
                $currline = $line;
                while ((strlen($currline)>0) and ((substr($currline, 0, 1) == '>')
@@ -187,7 +187,7 @@ function removelinebreak($message)
                                (substr(trim($nextline), 0, 7) == 'http://') or
                                (substr(trim($nextline), 0, 8) == 'https://'));
 
-               if (!$specialchars) 
+               if (!$specialchars)
                        $specialchars = ((substr(rtrim($line), -1) == '-') or
                                        (substr(rtrim($line), -1) == '=') or
                                        (substr(rtrim($line), -1) == '*') or
@@ -222,4 +222,3 @@ function removelinebreak($message)
        return(implode("\n", $lines));
 
 }
-?>