diff options
author | zotlabs <mike@macgirvin.com> | 2018-06-10 22:16:39 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-06-10 22:16:39 -0700 |
commit | a8f179145bf572e1a9dc78e53bd68910029c2ac0 (patch) | |
tree | ea6f1e3b696d96b45772025b6ce5b372fe9ab0b5 /include/items.php | |
parent | 1b9a350469a51789d6ed1ceaaaf4a0d1c3406872 (diff) | |
parent | 912ccb31a133c09b28890f0bab5be5ce1f7f95d4 (diff) | |
download | volse-hubzilla-a8f179145bf572e1a9dc78e53bd68910029c2ac0.tar.gz volse-hubzilla-a8f179145bf572e1a9dc78e53bd68910029c2ac0.tar.bz2 volse-hubzilla-a8f179145bf572e1a9dc78e53bd68910029c2ac0.zip |
Merge branch 'master' of ../hz into dev
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php index e75a9659d..54df5d322 100755 --- a/include/items.php +++ b/include/items.php @@ -3697,10 +3697,7 @@ function delete_item_lowlevel($item, $stage = DROPITEM_NORMAL, $force = false) { ); } else { - $r = q("UPDATE item SET item_deleted = 1, body = '', title = '', - changed = '%s', edited = '%s' WHERE id = %d", - dbesc(datetime_convert()), - dbesc(datetime_convert()), + $r = q("DELETE FROM item WHERE id = %d", intval($item['id']) ); } |