From 13b33a67b7523fea1f12c0f6ff3013e120052132 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Wed, 21 Sep 2016 16:50:23 -0400 Subject: [PATCH] Remove unused method I think the plan was to use this in closing teams? We can bring it back when we get to #3602, I guess. --- gratipay/models/team/mixins/membership.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gratipay/models/team/mixins/membership.py b/gratipay/models/team/mixins/membership.py index 8194b80331..8166d7854c 100644 --- a/gratipay/models/team/mixins/membership.py +++ b/gratipay/models/team/mixins/membership.py @@ -27,17 +27,6 @@ def remove_member(self, participant, recorder): self.set_take_for(participant, ZERO, recorder) - def remove_all_members(self, cursor=None): - (cursor or self.db).run(""" - INSERT INTO takes (ctime, member, team, amount, recorder) ( - SELECT ctime, member, %(username)s, 0.00, %(username)s - FROM current_takes - WHERE team=%(username)s - AND amount > 0 - ); - """, dict(username=self.username)) - - @property def nmembers(self): """The number of members. Read-only and computed (not in the db); equal to