From a1c821714f7ee2208d164c1e0750534e26fd4158 Mon Sep 17 00:00:00 2001 From: Git Date: Thu, 9 Jan 2014 08:00:51 +0000 Subject: [PATCH] Empty commit --- sections/schedule/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sections/schedule/index.php b/sections/schedule/index.php index a7444098..045f94a9 100644 --- a/sections/schedule/index.php +++ b/sections/schedule/index.php @@ -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 @@ -736,7 +736,7 @@ function next_hour() { $Cache->commit_transaction(0); Misc::send_pm($UserID, 0, 'You have been put on Ratio Watch', "This happens when your ratio falls below the requirements we have outlined in the rules located [url=https://".SSL_SITE_URL."/rules.php?p=ratio]here[/url].\n For information about ratio watch, click the link above."); echo "Ratio watch on: $UserID\n"; - } + }*/ sleep(5); @@ -993,6 +993,7 @@ 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])) { @@ -1035,7 +1036,7 @@ function next_hour() { INSERT INTO log (Message, Time) VALUES $Values"); echo "\nDeleted $i torrents for inactivity\n"; - } + }*/ $DB->query(" SELECT SimilarID