mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Moves the 'make_end_of_cycle_updates_if_needed' function to the 'BillingSession' abstract class. This refactoring will help in minimizing duplicate code while supporting both realm and remote_server customers. Since the function is called from our main daily billing cron job as well, we have changed 'RealmBillingSession' to accept 'user=None' (our convention for automated system jobs).