[FIX] Use existing getDonatePercent
This commit is contained in:
parent
aedb37aa3d
commit
50fb5218b1
@ -56,7 +56,7 @@ class User {
|
|||||||
return $this->getSingle($id, 'no_fees', 'id');
|
return $this->getSingle($id, 'no_fees', 'id');
|
||||||
}
|
}
|
||||||
public function getUserDonatePercent($id) {
|
public function getUserDonatePercent($id) {
|
||||||
return $this->getSingle($id, 'donate_percent', 'id');
|
return $this->getDonatePercent($id);
|
||||||
}
|
}
|
||||||
public function getUserAdmin($id) {
|
public function getUserAdmin($id) {
|
||||||
return $this->getSingle($id, 'is_admin', 'id');
|
return $this->getSingle($id, 'is_admin', 'id');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user