Skip to content

Commit d1d392a

Browse files
committed
Add anonymous check for users on block finder email notification
1 parent b033a98 commit d1d392a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/classes/user.class.php

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ private function getHash($string, $version=0, $pepper='') {
3131
public function getUserName($id) {
3232
return $this->getSingle($id, 'username', 'id');
3333
}
34+
public function getUserNameAnon($id) {
35+
return $this->getSingle($id, 'is_anonymous', 'id');
36+
}
3437
public function getUserNameByEmail($email) {
3538
return $this->getSingle($email, 'username', 'email', 's');
3639
}

0 commit comments

Comments
 (0)