fix: purge email settings for wuttjamaican also
This commit is contained in:
parent
8bd4236291
commit
542875a44c
|
@ -108,6 +108,14 @@ def delete_email_recipients(c, dbname):
|
||||||
"""
|
"""
|
||||||
Purge all email recipient settings for the given database.
|
Purge all email recipient settings for the given database.
|
||||||
"""
|
"""
|
||||||
|
# purge new-style for wuttjamaican
|
||||||
|
postgresql.sql(c, "delete from setting where name like 'rattail.email.%.sender';", database=dbname)
|
||||||
|
postgresql.sql(c, "delete from setting where name like 'rattail.email.%.to';", database=dbname)
|
||||||
|
postgresql.sql(c, "delete from setting where name like 'rattail.email.%.cc';", database=dbname)
|
||||||
|
postgresql.sql(c, "delete from setting where name like 'rattail.email.%.bcc';", database=dbname)
|
||||||
|
|
||||||
|
# purge old-style for rattail
|
||||||
|
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.from';", database=dbname)
|
||||||
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.to';", database=dbname)
|
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.to';", database=dbname)
|
||||||
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.cc';", database=dbname)
|
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.cc';", database=dbname)
|
||||||
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.bcc';", database=dbname)
|
postgresql.sql(c, "delete from setting where name like 'rattail.mail.%.bcc';", database=dbname)
|
||||||
|
|
Loading…
Reference in a new issue