mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-26 06:19:00 +02:00
in the admin, group users by domain, fixes 209
This commit is contained in:
@@ -23,10 +23,6 @@ def safe_domain_name(name):
|
||||
import urllib.parse
|
||||
return urllib.parse.quote(name, safe='')
|
||||
|
||||
def unsafe_domain_name(name_encoded):
|
||||
import urllib.parse
|
||||
return urllib.parse.unquote(name_encoded)
|
||||
|
||||
def sort_domains(domain_names, env):
|
||||
# Put domain names in a nice sorted order. For web_update, PRIMARY_HOSTNAME
|
||||
# must appear first so it becomes the nginx default server.
|
||||
|
||||
Reference in New Issue
Block a user