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.

billing: Remove some stale TODOs.

Tim Abbottaf83093a65d3
diff --git a/corporate/lib/stripe.py b/corporate/lib/stripe.py
index a026bac3927..ae3c9ae1337 100644
--- a/corporate/lib/stripe.py
+++ b/corporate/lib/stripe.py
@@ -3160,9 +3160,6 @@ class RemoteRealmBillingSession(BillingSession):
else:
raise AssertionError("Unexpected tier")
- # TODO: Set usage limits.
- # TODO: Set the usage limit in handle_customer_migration_from_server_to_realms.
-
old_plan_type = self.remote_realm.plan_type
self.remote_realm.plan_type = plan_type
self.remote_realm.save(update_fields=["plan_type"])
@@ -3552,8 +3549,6 @@ class RemoteServerBillingSession(BillingSession):
else:
raise AssertionError("Unexpected tier")
- # TODO: Set usage limits.
-
old_plan_type = self.remote_server.plan_type
self.remote_server.plan_type = plan_type
self.remote_server.save(update_fields=["plan_type"])