Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_groups: Remove incorrect comment.

Sahil Batra8815e7ac79fc
diff --git a/web/src/user_groups.ts b/web/src/user_groups.ts
index d96747a611f..0dfc45234d5 100644
--- a/web/src/user_groups.ts
+++ b/web/src/user_groups.ts
@@ -158,9 +158,6 @@ export function get_realm_user_groups(include_deactivated = false): UserGroup[]
});
}
-// This is only used for testing currently, but would be used in
-// future when we use system groups more and probably show them
-// in the UI as well.
export function get_all_realm_user_groups(include_deactivated = false): UserGroup[] {
const user_groups = [...user_group_by_id_dict.values()].sort((a, b) => a.id - b.id);
return user_groups.filter((group) => include_deactivated || !group.deactivated);