From db42c13e059c4e5ef8c37415cb5520c5f56685f7 Mon Sep 17 00:00:00 2001 From: Nelson Chan <3271800+chakflying@users.noreply.github.com> Date: Sun, 27 Aug 2023 18:56:50 +0800 Subject: [PATCH] Fix: Remove legacy unused tags cleanup (#3651) --- server/server.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/server.js b/server/server.js index d36ca662e..59957ba96 100644 --- a/server/server.js +++ b/server/server.js @@ -1116,9 +1116,6 @@ let needSetup = false; value, ]); - // Cleanup unused Tags - await R.exec("delete from tag where ( select count(*) from monitor_tag mt where tag.id = mt.tag_id ) = 0"); - callback({ ok: true, msg: "Deleted Successfully.",