mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
7786158f53
commit
a1c821714f
@ -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
|
||||||
@ -736,7 +736,7 @@ function next_hour() {
|
|||||||
$Cache->commit_transaction(0);
|
$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.");
|
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";
|
echo "Ratio watch on: $UserID\n";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
sleep(5);
|
sleep(5);
|
||||||
|
|
||||||
@ -993,6 +993,7 @@ 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])) {
|
||||||
@ -1035,7 +1036,7 @@ function next_hour() {
|
|||||||
INSERT INTO log (Message, Time)
|
INSERT INTO log (Message, Time)
|
||||||
VALUES $Values");
|
VALUES $Values");
|
||||||
echo "\nDeleted $i torrents for inactivity\n";
|
echo "\nDeleted $i torrents for inactivity\n";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
$DB->query("
|
$DB->query("
|
||||||
SELECT SimilarID
|
SELECT SimilarID
|
||||||
|
Loading…
Reference in New Issue
Block a user