mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Delete the attached HTML media on content updates
This commit is contained in:
parent
0b1f67f5b3
commit
9c8ae42c04
3 changed files with 2 additions and 4 deletions
|
@ -201,8 +201,6 @@ class Item
|
|||
$notify_items = [];
|
||||
|
||||
while ($item = DBA::fetch($items)) {
|
||||
Post\Media::deleteByURIId($item['uri-id'], [Post\Media::HTML]);
|
||||
|
||||
if (!empty($fields['body'])) {
|
||||
if (!empty($item['quote-uri-id'])) {
|
||||
$fields['body'] = BBCode::removeSharedData($fields['body']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue