From 9c5bc4936bfc6a53dbc5c9962ebb300265868be5 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Wed, 26 Jan 2022 14:33:06 +0300 Subject: [PATCH] SQL: Make Better Greetings optional --- install/sqls/00012-support-better-greetings.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/sqls/00012-support-better-greetings.sql b/install/sqls/00012-support-better-greetings.sql index db41733f..875be9c9 100644 --- a/install/sqls/00012-support-better-greetings.sql +++ b/install/sqls/00012-support-better-greetings.sql @@ -1 +1,3 @@ +--- if you haven't used helpdesk before nov 25, 2021 - you will not need it. + UPDATE `tickets_comments` SET `text`=REGEXP_REPLACE(`text`, "(?:Здравствуйте, [^!]*!
<\/br>|
<\/br>С уважением, Команда поддержки OpenVK.)", "") WHERE 1=1;