mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Refactor function name
This commit is contained in:
parent
5c9c09c7a9
commit
b25af9b14d
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ class User extends RowModel
|
|||
}
|
||||
|
||||
$total = max(100 - $incompleteness + $this->getRating(), 0);
|
||||
if(quirk("profile.rating-bar-behaviour") === 0)
|
||||
if(ovkGetQuirk("profile.rating-bar-behaviour") === 0)
|
||||
$percent = intval(substr(strval($total), -2));
|
||||
else
|
||||
$percent = min($total, 100);
|
||||
|
|
Loading…
Reference in a new issue