Fix #1882 add toggle to change if spamfilter rule applies to member

This commit is contained in:
Kijin Sung 2022-12-19 02:18:53 +09:00
parent 98f75ee4dd
commit 539b548509
7 changed files with 155 additions and 27 deletions

View file

@ -0,0 +1,11 @@
<query id="updateDeniedIPAttributes" action="update">
<tables>
<table name="spamfilter_denied_ip" />
</tables>
<columns>
<column name="except_member" var="except_member" />
</columns>
<conditions>
<condition operation="equal" column="ipaddress" var="ipaddress" notnull="notnull" />
</conditions>
</query>

View file

@ -0,0 +1,12 @@
<query id="updateDeniedWordAttributes" action="update">
<tables>
<table name="spamfilter_denied_word" />
</tables>
<columns>
<column name="except_member" var="except_member" />
<column name="filter_html" var="filter_html" />
</columns>
<conditions>
<condition operation="equal" column="word" var="word" notnull="notnull" />
</conditions>
</query>