mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
- Remove $theme_richtext_editor boot var
- Remove "richtext" feature - Remove fix_mce_lf() function - Remove nomce parameter
This commit is contained in:
parent
4ad6a7f073
commit
66482c1d9c
11 changed files with 36 additions and 115 deletions
|
@ -52,17 +52,6 @@ function message_post(App $a) {
|
|||
$body = ((x($_REQUEST,'body')) ? escape_tags(trim($_REQUEST['body'])) : '');
|
||||
$recipient = ((x($_REQUEST,'messageto')) ? intval($_REQUEST['messageto']) : 0 );
|
||||
|
||||
// Work around doubled linefeeds in Tinymce 3.5b2
|
||||
|
||||
/* $plaintext = intval(get_pconfig(local_user(),'system','plaintext') && !feature_enabled(local_user(),'richtext'));
|
||||
if(! $plaintext) {
|
||||
$body = fix_mce_lf($body);
|
||||
}*/
|
||||
$plaintext = intval(!feature_enabled(local_user(),'richtext'));
|
||||
if(! $plaintext) {
|
||||
$body = fix_mce_lf($body);
|
||||
}
|
||||
|
||||
$ret = send_message($recipient, $body, $subject, $replyto);
|
||||
$norecip = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue