mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 12:11:36 +00:00
Wiping sandbox
changle edit tag Include link to request in unfill PMs
This commit is contained in:
parent
65229141f1
commit
873044dae6
@ -52,8 +52,8 @@
|
||||
WHERE t.ID = ".$TorrentID."
|
||||
LIMIT 1");
|
||||
|
||||
|
||||
if($DB->record_count() < 1) {
|
||||
//No such torrent
|
||||
error(404);
|
||||
}
|
||||
list($UploaderID, $UploadTime, $TorrentReleaseType, $Bitrate, $Format, $Media, $HasLog, $HasCue, $LogScore, $TorrentCategoryID, $TorrentCatalogueNumber) = $DB->next_record();
|
||||
@ -94,7 +94,6 @@
|
||||
if(!empty($OldTorrentID)) {
|
||||
$Err = "This request has already been filled";
|
||||
}
|
||||
|
||||
if($RequestCategoryID != 0 && $TorrentCategoryID != $RequestCategoryID) {
|
||||
$Err = "This torrent is of a different category than the request";
|
||||
}
|
||||
|
@ -49,12 +49,12 @@
|
||||
} else {
|
||||
$DB->query("UPDATE users_main SET Uploaded = Uploaded - ".$RequestVotes['TotalBounty']." WHERE ID = ".$FillerID);
|
||||
}
|
||||
send_pm($FillerID, 0, db_string("A request you filled has been unfilled"), db_string("The request '".$FullName."' was unfilled by [url=http://".NONSSL_SITE_URL."/user.php?id=".$LoggedUser['ID']."]".$LoggedUser['Username']."[/url] for the reason: ".$_POST['reason']));
|
||||
send_pm($FillerID, 0, db_string("A request you filled has been unfilled"), db_string("The request '[url=http://".NONSSL_SITE_URL."/requests.php?action=view&id=".$RequestID."]".$FullName."[/url]' was unfilled by [url=http://".NONSSL_SITE_URL."/user.php?id=".$LoggedUser['ID']."]".$LoggedUser['Username']."[/url] for the reason: ".$_POST['reason']));
|
||||
|
||||
$Cache->delete_value('user_stats_'.$FillerID);
|
||||
|
||||
if($UserID != $LoggedUser['ID']) {
|
||||
send_pm($UserID, 0, db_string("A request you created has been unfilled"), db_string("The request '".$FullName."' was unfilled by [url=http://".NONSSL_SITE_URL."/user.php?id=".$LoggedUser['ID']."]".$LoggedUser['Username']."[/url] for the reason: ".$_POST['reason']));
|
||||
send_pm($UserID, 0, db_string("A request you created has been unfilled"), db_string("The request '[url=http://".NONSSL_SITE_URL."/requests.php?action=view&id=".$RequestID."]".$FullName."[/url]' was unfilled by [url=http://".NONSSL_SITE_URL."/user.php?id=".$LoggedUser['ID']."]".$LoggedUser['Username']."[/url] for the reason: ".$_POST['reason']));
|
||||
}
|
||||
|
||||
$DB->query("SELECT ID, UserID
|
||||
|
Loading…
Reference in New Issue
Block a user