Browse Source

Update 'classes/userinfluence.class.php'

change rank to influence (RANK is a reserved word in mysql 8.0)
Stortebeker 4 years ago
parent
commit
9ec15ad470
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      classes/userinfluence.class.php

classes/userrank.class.php → classes/userinfluence.class.php View File

@@ -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
     }

Loading…
Cancel
Save