]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
urlfilter.cgi: Fixes bug#10649 - calls urlfilterctrl with remove option if update...
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 26 Sep 2023 14:07:01 +0000 (16:07 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Sep 2023 09:39:26 +0000 (09:39 +0000)
commitcb741b5a66046150c922a469dc19bb876f216c5f
tree7a918b616a0dd60a638e4255ac82885c2f318c03
parent01ed9ff3219de2683b3a3e74cea6602dde3e04fb
urlfilter.cgi: Fixes bug#10649 - calls urlfilterctrl with remove option if update disabled

- When the url filter update enable checkbox is unchecked then this patch calls
   urlfilterctrl with the remove option added in the otrher patch of this series.
- Tested on my vm testbed that this change does remove the urlfilter symlink from the
   fcron directories when the update is disabled.

Fixes: Bug#10649
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/urlfilter.cgi