Empty commit

This commit is contained in:
Git 2011-11-01 08:00:10 +00:00
parent af7e35648f
commit b04d5b36ca
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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