mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
streams: Eliminate last use of get_stream in views.
This commit is contained in:
@@ -419,8 +419,6 @@ def build_custom_checkers(by_lang):
|
||||
# that you are no longer subscribed to, so need get_stream.
|
||||
'exclude': set(['zerver/views/messages.py']),
|
||||
'exclude_line': set([
|
||||
# This is a check for whether a stream rename is invalid because it already exists
|
||||
('zerver/views/streams.py', 'if get_stream(new_name, user_profile.realm) is not None:'),
|
||||
# This is a check for whether a stream rename is invalid because it already exists
|
||||
('zerver/lib/actions.py', 'existing_deactivated_stream = get_stream(new_name, stream.realm)'),
|
||||
# This one in check_message is kinda terrible, since it's
|
||||
|
||||
Reference in New Issue
Block a user