]> git.proxmox.com Git - pmg-api.git/commit
refactor reload_rule_db
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 21 Oct 2019 17:23:25 +0000 (19:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Oct 2019 07:47:22 +0000 (09:47 +0200)
commit592f4b8018384095dfdb330062620795d7fbab48
tree26232f521b5f88fced9bc4a71430f1ff489b0bd9
parent2b32e1c685145f7100df29758e7964fe60ca2daa
refactor reload_rule_db

move the reload of pmg-smtp-filter in a sub in PMG::Utils and call it in
the only place it was used (PMG::DBTools::reload_rule_db).

This is in preparation for fixing #2371 and dkim-signing support.

Additionally an unneeded import was removed from PMG/DBTools.pm

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/DBTools.pm
src/PMG/Utils.pm