From 440e0368186a01f32db766d733a5e365eee62627 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Wed, 23 Mar 2016 11:34:28 -0400 Subject: [PATCH] Moar billing removal. --- media/js/src/account.js | 18 ------------------ teams/templates/teams/for-teams.html | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/media/js/src/account.js b/media/js/src/account.js index 3b35b3b..485cb04 100644 --- a/media/js/src/account.js +++ b/media/js/src/account.js @@ -84,24 +84,6 @@ if (typeof angular !== 'undefined') { }); // Controllers. - controllers.BillingController = function($scope, AccountStorage) { - $scope.section = 'Billing'; - - $scope.cancelSubscription = function() { - if (confirm('Are you sure you want to cancel your subscription?\n\nYou will no longer be able to create new Snipts. Your existing snipts will still be accessible. This action is effective immediately and we unfortunately cannot issue any refunds.')) { - $scope.cancelled = true; - $scope.cancelling = true; - AccountStorage.cancelSubscription().then(function(response) { - if (response.data.deleted) { - $scope.cancelling = false; - } else { - $scope.cancelling = false; - $scope.cancelled = false; - } - }); - } - }; - }; controllers.BloggingController = function($scope) { $scope.fields = [ 'blog_title', diff --git a/teams/templates/teams/for-teams.html b/teams/templates/teams/for-teams.html index 15354c0..9d204a1 100644 --- a/teams/templates/teams/for-teams.html +++ b/teams/templates/teams/for-teams.html @@ -51,7 +51,7 @@

- For billing and your team's Gravatar. Will remain private. + For your team's Gravatar. Will remain private.