Empty commit

This commit is contained in:
Git 2011-11-05 08:00:37 +00:00
parent e7f3af4802
commit aac6367e5c
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);*/
?>
<div class="box">