Add anonymous check for users on block finder email notification
This commit is contained in:
parent
40d0ecd769
commit
b528cc2998
@ -31,6 +31,9 @@ class User extends Base {
|
||||
public function getUserName($id) {
|
||||
return $this->getSingle($id, 'username', 'id');
|
||||
}
|
||||
public function getUserNameAnon($id) {
|
||||
return $this->getSingle($id, 'is_anonymous', 'id');
|
||||
}
|
||||
public function getUserNameByEmail($email) {
|
||||
return $this->getSingle($email, 'username', 'email', 's');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user