Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Prune vestigial method (#406)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Dec 7, 2012
1 parent 9b2d176 commit 2725331
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions gittip/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ def ADMIN(self):
def ANON(self):
return self.id is None

@property
def PAID(self):
"""A boolean, whether the participant has a working credit card.
We base this determination on the last_bill_result field. Our billing
code sets this to a non-empty string in any case where an attempt to
bill the participant fails.
"""
if self.session.get('last_bill_result', None) is None:
return False
return self.session['last_bill_result'] == ""


def inbound(request):
"""Authenticate from a cookie.
Expand Down

0 comments on commit 2725331

Please sign in to comment.