mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
af7e35648f
commit
b04d5b36ca
@ -90,7 +90,7 @@ function next_hour() {
|
||||
FROM users_freeleeches AS uf
|
||||
JOIN torrents AS t ON uf.TorrentID = t.ID
|
||||
WHERE uf.Expired = FALSE AND uf.Time < '$sqltime' - INTERVAL 4 DAY");
|
||||
while (list($UserID,$InfoHash) = $DB->next_record()) {
|
||||
while (list($UserID,$InfoHash) = $DB->next_record(MYSQLI_NUM, false)) {
|
||||
update_tracker('remove_token', array('info_hash' => rawurlencode($InfoHash), 'userid' => $UserID));
|
||||
}
|
||||
$DB->query("UPDATE users_freeleeches SET Expired = True WHERE Time < '$sqltime' - INTERVAL 4 DAY");
|
||||
|
@ -94,7 +94,7 @@
|
||||
|
||||
// Let the tracker know about this
|
||||
if (!update_tracker('add_token', array('info_hash' => rawurlencode($InfoHash), 'userid' => $UserID))) {
|
||||
error("An error has occured while trying to register your token. This is most often caused by tracker problems. Please try again when the tracker is up. If the tracker is currently working, it may just be under heavy load, so please try again.");
|
||||
error("Sorry! An error occurred while trying to register your token. Most often, this is due to the tracker being down or under heavy load. Please try again later.");
|
||||
}
|
||||
|
||||
// We need to fetch and check this again here because of people
|
||||
|
Loading…
Reference in New Issue
Block a user