Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Dec 17, 2016
1 parent 3470642 commit c1b2345
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions chatterbot/ext/django_chatterbot/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@ def add_response(self, statement):
"""
Add a response to this statement.
"""

'''
response, created = self.in_response.get_or_create(
statement=self,
response=statement
)
if created:
response.occurrence += 1
response.save()
'''

self.response_statement_cache.append(statement)

def remove_response(self, response_text):
Expand Down

0 comments on commit c1b2345

Please sign in to comment.