mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 08:16:07 +00:00
06 change comment
This commit is contained in:
@@ -91,7 +91,7 @@ class ProfileManager(models.Manager):
|
||||
return None
|
||||
|
||||
def get_contact_email_by_user(self, username):
|
||||
"""Get a user's contact email, use username(login email) if not found.
|
||||
"""Get a user's contact email, return None if not found.
|
||||
"""
|
||||
p = self.get_profile_by_user(username)
|
||||
if p and p.contact_email:
|
||||
|
Reference in New Issue
Block a user