mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Empty commit
This commit is contained in:
parent
a1c821714f
commit
90523aeb15
@ -641,7 +641,7 @@ function next_hour() {
|
||||
$OnRatioWatch = array();
|
||||
|
||||
// Take users off ratio watch and enable leeching
|
||||
/*$UserQuery = $DB->query("
|
||||
$UserQuery = $DB->query("
|
||||
SELECT
|
||||
m.ID,
|
||||
torrent_pass
|
||||
@ -710,7 +710,7 @@ function next_hour() {
|
||||
|
||||
// Put user on ratio watch if he doesn't meet the standards
|
||||
sleep(10);
|
||||
$DB->query("
|
||||
/*$DB->query("
|
||||
SELECT m.ID, m.Downloaded
|
||||
FROM users_info AS i
|
||||
JOIN users_main AS m ON m.ID = i.UserID
|
||||
@ -968,7 +968,7 @@ function next_hour() {
|
||||
sleep(10);
|
||||
|
||||
$i = 0;
|
||||
$DB->query("
|
||||
/*$DB->query("
|
||||
SELECT
|
||||
t.ID,
|
||||
t.GroupID,
|
||||
@ -993,7 +993,6 @@ function next_hour() {
|
||||
$InactivityExceptionsMade = array(//UserID => expiry time of exception
|
||||
|
||||
);
|
||||
/*
|
||||
foreach ($Torrents as $Torrent) {
|
||||
list($ID, $GroupID, $Name, $Format, $Encoding, $UserID, $Media, $InfoHash) = $Torrent;
|
||||
if (array_key_exists($UserID, $InactivityExceptionsMade) && (time() < $InactivityExceptionsMade[$UserID])) {
|
||||
|
Loading…
Reference in New Issue
Block a user