Add anonymous check for users on block finder email notification

This commit is contained in:
owlhooter 2015-05-27 09:04:41 -05:00 committed by Joey
parent 40d0ecd769
commit b528cc2998

View File

@ -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');
}