mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
docs: Remove HostnameAlreadyInUseBouncerError.docs_url.
Now that we introduced an URL for serving permalinks redirecting to docs in #33444, the docs_url mechanism is no longer needed, as we can have a URL that's safe to hard-code in register_server.py. The HostnameAlreadyInUseBouncerError.docs_url has been merged in main briefly enough, that this should be safe to remove.
This commit is contained in:
committed by
Tim Abbott
parent
0a45a289f2
commit
a8fbf6d5d5
@@ -1534,9 +1534,8 @@ class PushNotificationsDisallowedByBouncerError(Exception):
|
||||
|
||||
class HostnameAlreadyInUseBouncerError(JsonableError):
|
||||
code = ErrorCode.HOSTNAME_ALREADY_IN_USE_BOUNCER_ERROR
|
||||
docs_url = "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#moving-your-registration-to-a-new-server"
|
||||
|
||||
data_fields = ["hostname", "docs_url"]
|
||||
data_fields = ["hostname"]
|
||||
|
||||
def __init__(self, hostname: str) -> None:
|
||||
self.hostname: str = hostname
|
||||
|
||||
Reference in New Issue
Block a user