Merge pull request #21391 from edx/dcs/report-for-zoom
Include Zoom as a potential partner, for retirement requests
This commit is contained in:
@@ -526,6 +526,14 @@ class AccountRetirementPartnerReportView(ViewSet):
|
||||
# Org can concievably be blank or this bogus default value
|
||||
if org and org != 'outdated_entry':
|
||||
orgs.add(org)
|
||||
try:
|
||||
# if the user has ever launched a managed Zoom xblock,
|
||||
# we'll notify Zoom to delete their records.
|
||||
if user.launchlog_set.filter(managed=True).count():
|
||||
orgs.add('zoom')
|
||||
except AttributeError:
|
||||
# Zoom XBlock not installed
|
||||
pass
|
||||
return orgs
|
||||
|
||||
def retirement_partner_report(self, request): # pylint: disable=unused-argument
|
||||
|
||||
Reference in New Issue
Block a user