diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-07 21:42:13 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-05-07 21:42:13 +0300 |
commit | 3a2dc79e5650c2a851910f616ba3e74c7e2267f3 (patch) | |
tree | 1bd1f74f2bbf0827e40baa33cde80d158aa4cba9 /lualib/rspamadm/configwizard.lua | |
parent | 13ea9586dae5ae002c020eee62e95a0ecba65a37 (diff) | |
download | rspamd-3a2dc79e5650c2a851910f616ba3e74c7e2267f3.tar.gz rspamd-3a2dc79e5650c2a851910f616ba3e74c7e2267f3.zip |
[Minor] Notify user if DB conversion is not needed
Diffstat (limited to 'lualib/rspamadm/configwizard.lua')
-rw-r--r-- | lualib/rspamadm/configwizard.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |