aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-12 19:44:01 +0100
committerMario <mario@mariovavti.com>2020-12-12 19:44:01 +0100
commitbadae90051dc12125dd4733e344b3d155be41d7f (patch)
tree68333c0746ab0b973a3299278b3943bb71dc73e5 /include
parent8c1c49a45ed28f5235d6a5f7668d2c31158fbea3 (diff)
parenta27c593a2aeb8db7de64ce53f14e9061f3b0d3f5 (diff)
downloadvolse-hubzilla-badae90051dc12125dd4733e344b3d155be41d7f.tar.gz
volse-hubzilla-badae90051dc12125dd4733e344b3d155be41d7f.tar.bz2
volse-hubzilla-badae90051dc12125dd4733e344b3d155be41d7f.zip
Merge branch 'dev' into 'dev'
Remove duplicate delete terms query See merge request hubzilla/core!1885
Diffstat (limited to 'include')
-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'])
);