diff --git a/sections/schedule/index.php b/sections/schedule/index.php index 3d98160d..572a4d20 100644 --- a/sections/schedule/index.php +++ b/sections/schedule/index.php @@ -112,7 +112,7 @@ function next_hour() { //------------- Front page stats ----------------------------------------// //Love or hate, this makes things a hell of a lot faster - if ($Hour%2 == 0) { + if ($Hour%6 == 0) { $DB->query("SELECT COUNT(uid) AS Snatches FROM xbt_snatched"); list($SnatchStats) = $DB->next_record(); $Cache->cache_value('stats_snatches',$SnatchStats,0); diff --git a/sections/user/user.php b/sections/user/user.php index 45004fc0..4bba6888 100644 --- a/sections/user/user.php +++ b/sections/user/user.php @@ -255,7 +255,7 @@ function check_paranoia_here($Setting) { $ArtistsAdded = 0; } -include(SERVER_ROOT.'/classes/class_user_rank.php'); +/*include(SERVER_ROOT.'/classes/class_user_rank.php'); $Rank = new USER_RANK; $UploadedRank = $Rank->get_rank('uploaded', $Uploaded); @@ -273,7 +273,7 @@ function check_paranoia_here($Setting) { } else { $Ratio = round($Uploaded/$Downloaded, 2); } -$OverallRank = $Rank->overall_score($UploadedRank, $DownloadedRank, $UploadsRank, $RequestRank, $PostRank, $BountyRank, $ArtistsRank, $Ratio); +$OverallRank = $Rank->overall_score($UploadedRank, $DownloadedRank, $UploadsRank, $RequestRank, $PostRank, $BountyRank, $ArtistsRank, $Ratio);*/ ?>