aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-06-10 22:16:39 -0700
committerzotlabs <mike@macgirvin.com>2018-06-10 22:16:39 -0700
commita8f179145bf572e1a9dc78e53bd68910029c2ac0 (patch)
treeea6f1e3b696d96b45772025b6ce5b372fe9ab0b5 /include/items.php
parent1b9a350469a51789d6ed1ceaaaf4a0d1c3406872 (diff)
parent912ccb31a133c09b28890f0bab5be5ce1f7f95d4 (diff)
downloadvolse-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-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'])
);
}