From: Hypolite Petovan Date: Sun, 1 Apr 2018 06:23:56 +0000 (-0400) Subject: Remove content warning processing in put_item_in_cache X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bec46d7b01729c5a393bc61465037041aab3f8a6;p=friendica.git Remove content warning processing in put_item_in_cache --- diff --git a/include/text.php b/include/text.php index 311422c575..f08baaf63f 100644 --- a/include/text.php +++ b/include/text.php @@ -1183,11 +1183,6 @@ function put_item_in_cache(&$item, $update = false) { $body = $item["body"]; - // Add the content warning - if (!empty($item['content-warning'])) { - $item["body"] = $item['content-warning'] . '[spoiler]' . $item["body"] . '[/spoiler]'; - } - $rendered_hash = defaults($item, 'rendered-hash', ''); if ($rendered_hash == ''