aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
committerMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
commit28043726e64f750e646b42aa6f649e277fc3767e (patch)
tree18a41bea6a4805454e0b1a2dacdfeda451854690 /include/items.php
parent9c5df51141d68e50d3c1f5d3097160408debce48 (diff)
parent7e736c5359732647f5203bf2bb7fcd50c448fad9 (diff)
downloadvolse-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-xinclude/items.php5
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'])
);
}