From 92416668b226d6d64ab9871b31bb0715cfd5c99b Mon Sep 17 00:00:00 2001 From: Git Date: Sun, 19 Jan 2014 08:00:55 +0000 Subject: [PATCH] Empty commit --- sections/schedule/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sections/schedule/index.php b/sections/schedule/index.php index cc9051dd..006e7549 100644 --- a/sections/schedule/index.php +++ b/sections/schedule/index.php @@ -494,7 +494,7 @@ function next_hour() { if (count($Users) > 0) { $Subject = 'Leeching Disabled'; - $Message = 'You have downloaded more then 10 GiB while on Ratio Watch. Your leeching privileges have been disabled. Please reread the rules and refer to this guide on how to improve your ratio https://' . SSL_SITE_URL . '/wiki.php?action=article&id=110'; + $Message = 'You have downloaded more than 10 GiB while on Ratio Watch. Your leeching privileges have been disabled. Please reread the rules and refer to this guide on how to improve your ratio https://' . SSL_SITE_URL . '/wiki.php?action=article&id=110'; foreach ($Users as $TorrentPass => $UserID) { Misc::send_pm($UserID, 0, $Subject, $Message); Tracker::update_tracker('update_user', array('passkey' => $TorrentPass, 'can_leech' => '0')); @@ -769,7 +769,7 @@ function next_hour() { //------------- Disable downloading ability of users on ratio watch - +/* $UserQuery = $DB->query(" SELECT ID, torrent_pass FROM users_info AS i @@ -789,6 +789,7 @@ function next_hour() { WHERE m.ID IN(".implode(',', $UserIDs).')'); + $DB->query(" DELETE FROM users_torrent_history WHERE UserID IN (".implode(',', $UserIDs).')'); @@ -808,6 +809,8 @@ function next_hour() { Tracker::update_tracker('update_user', array('passkey' => $Passkey, 'can_leech' => '0')); } + */ + //------------- Disable inactive user accounts --------------------------// sleep(5); // Send email