diff options
author | Mario <mario@mariovavti.com> | 2018-06-17 17:00:17 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-06-17 17:00:17 +0200 |
commit | 28043726e64f750e646b42aa6f649e277fc3767e (patch) | |
tree | 18a41bea6a4805454e0b1a2dacdfeda451854690 /include/items.php | |
parent | 9c5df51141d68e50d3c1f5d3097160408debce48 (diff) | |
parent | 7e736c5359732647f5203bf2bb7fcd50c448fad9 (diff) | |
download | volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.gz volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.bz2 volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core 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']) ); } |