]> git.mxchange.org Git - friendica.git/blobdiff - mod/wallmessage.php
Merge remote-tracking branch 'upstream/develop' into 1706-lock
[friendica.git] / mod / wallmessage.php
index 257ba6a898f39e6e259f3a0a1d3a9f8f72fe9fe7..72897c0657f77adc057bc738085d91d1bf9e79d2 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/message.php');
 
 function wallmessage_post(App $a) {
@@ -43,12 +45,6 @@ function wallmessage_post(App $a) {
                return;
        }
 
-       // Work around doubled linefeeds in Tinymce 3.5b2
-
-       $body = str_replace("\r\n","\n",$body);
-       $body = str_replace("\n\n","\n",$body);
-
-
        $ret = send_wallmessage($user, $body, $subject, $replyto);
 
        switch($ret){