diff options
author | Max Kostikov <max@kostikov.co> | 2020-12-12 18:43:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-12-12 19:56:24 +0100 |
commit | faf4bcdd62319b265f2ae28d55824ae588138457 (patch) | |
tree | 34d92674a2d7c0431ac109508203644afe6afe80 /include | |
parent | f699442bec51d75a2ca301b300ec7771ff09d1c7 (diff) | |
download | volse-hubzilla-faf4bcdd62319b265f2ae28d55824ae588138457.tar.gz volse-hubzilla-faf4bcdd62319b265f2ae28d55824ae588138457.tar.bz2 volse-hubzilla-faf4bcdd62319b265f2ae28d55824ae588138457.zip |
Remove duplicate delete terms query
(cherry picked from commit a27c593a2aeb8db7de64ce53f14e9061f3b0d3f5)
Diffstat (limited to 'include')
-rwxr-xr-x | include/items.php | 5 |
1 files changed, 0 insertions, 5 deletions
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']) ); |