Delete previous post version's link attachments before posting the one from the current update.
This commit is contained in:
parent
bbb5440144
commit
261975afe9
@ -201,6 +201,8 @@ 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…
x
Reference in New Issue
Block a user