diff options
author | Michael Meer <michael@meer.name> | 2013-01-23 15:06:49 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2013-01-23 15:06:49 +0100 |
commit | 657a02ad3ccd32753ce149aceeac67d1169ab230 (patch) | |
tree | 0598ca01364c269809f5139dc480f123921675e4 /include/items.php | |
parent | 9996d5ee9b7196774cb1d95334507c20f1883428 (diff) | |
download | volse-hubzilla-657a02ad3ccd32753ce149aceeac67d1169ab230.tar.gz volse-hubzilla-657a02ad3ccd32753ce149aceeac67d1169ab230.tar.bz2 volse-hubzilla-657a02ad3ccd32753ce149aceeac67d1169ab230.zip |
delete item: change of timestamp last edit
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index dcc6c9b50..4832c2916 100755 --- a/include/items.php +++ b/include/items.php @@ -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']) ); |