delete unused method
This commit is contained in:
parent
0955f13593
commit
873133838d
|
@ -398,11 +398,6 @@ class GenEmail(db.Model, ModelMixin):
|
||||||
|
|
||||||
user = db.relationship(User)
|
user = db.relationship(User)
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def create_new_gen_email(cls, user_id, custom=False):
|
|
||||||
random_email = generate_email()
|
|
||||||
return GenEmail.create(user_id=user_id, email=random_email, custom=custom)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create_custom_alias(cls, user_id, prefix):
|
def create_custom_alias(cls, user_id, prefix):
|
||||||
if not prefix:
|
if not prefix:
|
||||||
|
|
Loading…
Reference in a new issue