aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-12 19:43:57 +0100
committerMario <mario@mariovavti.com>2020-12-12 19:43:57 +0100
commita27c593a2aeb8db7de64ce53f14e9061f3b0d3f5 (patch)
tree68333c0746ab0b973a3299278b3943bb71dc73e5
parent8c1c49a45ed28f5235d6a5f7668d2c31158fbea3 (diff)
downloadvolse-hubzilla-a27c593a2aeb8db7de64ce53f14e9061f3b0d3f5.tar.gz
volse-hubzilla-a27c593a2aeb8db7de64ce53f14e9061f3b0d3f5.tar.bz2
volse-hubzilla-a27c593a2aeb8db7de64ce53f14e9061f3b0d3f5.zip
Remove duplicate delete terms query
-rwxr-xr-xinclude/items.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php
index bcdc6c687..956b259af 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4072,11 +4072,6 @@ function delete_item_lowlevel($item, $stage = DROPITEM_NORMAL) {
if($stage == DROPITEM_PHASE1)
return true;
- $r = q("delete from term where otype = %d and oid = %d",
- intval(TERM_OBJ_POST),
- intval($item['id'])
- );
-
q("delete from iconfig where iid = %d",
intval($item['id'])
);