diff --git a/metabrainz/admin/quickbooks/quickbooks.py b/metabrainz/admin/quickbooks/quickbooks.py index 68a0c978..8ee42d2b 100644 --- a/metabrainz/admin/quickbooks/quickbooks.py +++ b/metabrainz/admin/quickbooks/quickbooks.py @@ -24,7 +24,6 @@ def get_client(realm, refresh_token): Create the QuickBooks client object from the auth client. ''' - QuickBooks.enable_global() qb = QuickBooks( auth_client=current_app.quickbooks_auth_client, refresh_token=refresh_token, diff --git a/metabrainz/invoices/send_invoices.py b/metabrainz/invoices/send_invoices.py index 6ccb3f50..dd2b782e 100755 --- a/metabrainz/invoices/send_invoices.py +++ b/metabrainz/invoices/send_invoices.py @@ -70,7 +70,6 @@ class QuickBooksInvoiceSender(): """ This class uses the QuickBooks API to sent invoices from our own mail ifrastructure. """ def __init__(self): - QuickBooks.enable_global() self.auth_client = AuthClient( client_id=current_app.config["QUICKBOOKS_CLIENT_ID"], client_secret=current_app.config["QUICKBOOKS_CLIENT_SECRET"],