Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove unused method
Roland Geiderd70788c1b730
diff --git a/wger/nutrition/models/ingredient.py b/wger/nutrition/models/ingredient.pyindex 214fbccfd..c168ed3e2 100644--- a/wger/nutrition/models/ingredient.py+++ b/wger/nutrition/models/ingredient.py@@ -354,20 +354,6 @@ class Ingredient(AbstractSubmissionModel, AbstractLicenseModel, models.Model):## Own methods#- def compare_with_database(self):- """- Compares the current ingredient with the version saved in the database.-- If the current object has no PK, returns false- """- if not self.pk:- return False-- ingredient = Ingredient.objects.get(pk=self.pk)- if self != ingredient:- return False- else:- return Truedef send_email(self, request):"""