From 6d96836e2e6fd85a137e90669fb45036f1cb8473 Mon Sep 17 00:00:00 2001 From: Ninjasoturi <52629375+Ninjasoturi@users.noreply.github.com> Date: Sat, 31 Jul 2021 09:42:45 +0300 Subject: [PATCH] Removed references to 'cleaned' column --- logic/delete_raid.php | 1 - logic/send_response_vote.php | 1 - mods/vote_time.php | 1 - 3 files changed, 3 deletions(-) diff --git a/logic/delete_raid.php b/logic/delete_raid.php index 0cb5bdba..ade9f0f3 100644 --- a/logic/delete_raid.php +++ b/logic/delete_raid.php @@ -37,7 +37,6 @@ function delete_raid($raid_id) " DELETE FROM cleanup WHERE raid_id = '{$raid_id}' - OR cleaned = '{$raid_id}' " ); diff --git a/logic/send_response_vote.php b/logic/send_response_vote.php index 65a68865..faf4d152 100644 --- a/logic/send_response_vote.php +++ b/logic/send_response_vote.php @@ -133,7 +133,6 @@ function get_all_active_raid_channels($update,$data){ SELECT * FROM cleanup WHERE raid_id = {$data['id']} - AND cleaned = 0 AND chat_id <> 0 "); // IF Chat was shared only to target channel -> no extra update diff --git a/mods/vote_time.php b/mods/vote_time.php index fbbd1258..615dda34 100644 --- a/mods/vote_time.php +++ b/mods/vote_time.php @@ -28,7 +28,6 @@ FROM cleanup WHERE raid_id = {$data['id']} AND chat_id = {$config->SHARE_CHATS_AFTER_ATTENDANCE} - AND cleaned = 0 "); // IF Chat was not shared to target channel we want to share it if ($rs_chann->rowCount() == 0) {