From faf4bcdd62319b265f2ae28d55824ae588138457 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 12 Dec 2020 18:43:57 +0000 Subject: Remove duplicate delete terms query (cherry picked from commit a27c593a2aeb8db7de64ce53f14e9061f3b0d3f5) --- include/items.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/items.php b/include/items.php index a027be4b2..cf2491319 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']) ); -- cgit v1.2.3