Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove `email_user` method on `User`

Krzysiek Szularz837609a250e7
diff --git a/userprofile/models.py b/userprofile/models.py
index 15fe8cb9e9..65b290b746 100644
--- a/userprofile/models.py
+++ b/userprofile/models.py
@@ -173,7 +173,3 @@ class User(models.Model):
def has_usable_password(self):
return is_password_usable(self.password)
-
- def email_user(self, subject, message, from_email=None):
- 'Sends an email to this User'
- send_mail(subject, message, from_email, [self.email])