|
@@ -1,5 +1,5 @@
|
1
|
1
|
<?
|
2
|
|
-class UserRank {
|
|
2
|
+class UserInfluence {
|
3
|
3
|
const PREFIX = 'percentiles_'; // Prefix for memcache keys, to make life easier
|
4
|
4
|
|
5
|
5
|
// Returns a 101 row array (101 percentiles - 0 - 100), with the minimum value for that percentile as the value for each row
|
|
@@ -108,7 +108,7 @@ class UserRank {
|
108
|
108
|
return $Query;
|
109
|
109
|
}
|
110
|
110
|
|
111
|
|
- public static function get_rank($TableName, $Value) {
|
|
111
|
+ public static function get_influence($TableName, $Value) {
|
112
|
112
|
if ($Value == 0) {
|
113
|
113
|
return 0;
|
114
|
114
|
}
|