Empty commit

This commit is contained in:
Git 2014-01-10 08:01:11 +00:00
parent a1c821714f
commit 90523aeb15

View File

@ -641,7 +641,7 @@ function next_hour() {
$OnRatioWatch = array(); $OnRatioWatch = array();
// Take users off ratio watch and enable leeching // Take users off ratio watch and enable leeching
/*$UserQuery = $DB->query(" $UserQuery = $DB->query("
SELECT SELECT
m.ID, m.ID,
torrent_pass torrent_pass
@ -710,7 +710,7 @@ function next_hour() {
// Put user on ratio watch if he doesn't meet the standards // Put user on ratio watch if he doesn't meet the standards
sleep(10); sleep(10);
$DB->query(" /*$DB->query("
SELECT m.ID, m.Downloaded SELECT m.ID, m.Downloaded
FROM users_info AS i FROM users_info AS i
JOIN users_main AS m ON m.ID = i.UserID JOIN users_main AS m ON m.ID = i.UserID
@ -968,7 +968,7 @@ function next_hour() {
sleep(10); sleep(10);
$i = 0; $i = 0;
$DB->query(" /*$DB->query("
SELECT SELECT
t.ID, t.ID,
t.GroupID, t.GroupID,
@ -993,7 +993,6 @@ function next_hour() {
$InactivityExceptionsMade = array(//UserID => expiry time of exception $InactivityExceptionsMade = array(//UserID => expiry time of exception
); );
/*
foreach ($Torrents as $Torrent) { foreach ($Torrents as $Torrent) {
list($ID, $GroupID, $Name, $Format, $Encoding, $UserID, $Media, $InfoHash) = $Torrent; list($ID, $GroupID, $Name, $Format, $Encoding, $UserID, $Media, $InfoHash) = $Torrent;
if (array_key_exists($UserID, $InactivityExceptionsMade) && (time() < $InactivityExceptionsMade[$UserID])) { if (array_key_exists($UserID, $InactivityExceptionsMade) && (time() < $InactivityExceptionsMade[$UserID])) {