delete item: change of timestamp last edit
This commit is contained in:
parent
9996d5ee9b
commit
657a02ad3c
@ -4060,9 +4060,11 @@ function drop_item($id,$interactive = true) {
|
||||
`item_restrict` = (item_restrict|%d) ,
|
||||
`title` = '',
|
||||
`body` = '',
|
||||
`changed` = '%s' WHERE `id` = %d LIMIT 1",
|
||||
`changed` = '%s',
|
||||
`edited` = '%s' WHERE `id` = %d LIMIT 1",
|
||||
intval(ITEM_DELETED),
|
||||
dbesc(datetime_convert()),
|
||||
dbesc(datetime_convert()),
|
||||
intval($item['id'])
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user