From 3a2dc79e5650c2a851910f616ba3e74c7e2267f3 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Mon, 7 May 2018 21:42:13 +0300 Subject: [PATCH] [Minor] Notify user if DB conversion is not needed --- lualib/rspamadm/configwizard.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua index 84d7b2d64..d4a32fbae 100644 --- a/lualib/rspamadm/configwizard.lua +++ b/lualib/rspamadm/configwizard.lua @@ -469,6 +469,9 @@ return ttl printf("You have configured new schema for %s/%s but your DB has old data", symbol_spam, symbol_ham) try_convert(false) + else + printf("You have configured new schema for %s/%s and your DB already has new layout (v. %s). DB conversion is not needed.", + symbol_spam, symbol_ham, ver) end end end -- 2.39.5