aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-12 10:10:32 +0100
committerMax Kostikov <max@kostikov.co>2020-12-12 10:10:32 +0100
commit600dcdfc583ab671fc61ff957ad7fd1a3a0c547d (patch)
tree68333c0746ab0b973a3299278b3943bb71dc73e5 /include/items.php
parenta4b83327c2f47bbe00ee9a81f4f0fb065f041ee3 (diff)
downloadvolse-hubzilla-600dcdfc583ab671fc61ff957ad7fd1a3a0c547d.tar.gz
volse-hubzilla-600dcdfc583ab671fc61ff957ad7fd1a3a0c547d.tar.bz2
volse-hubzilla-600dcdfc583ab671fc61ff957ad7fd1a3a0c547d.zip
Remove duplicate delete terms query
Diffstat (limited to 'include/items.php')
-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'])
);