mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 02:21:36 +00:00
Fixed misleading site log (freeleech reason instead of freeleech type/status)
This commit is contained in:
parent
f544294c3a
commit
c2dadb15b4
@ -722,8 +722,8 @@ public static function freeleech_torrents($TorrentIDs, $FreeNeutral = 1, $FreeLe
|
|||||||
list($TorrentID, $GroupID, $InfoHash) = $Torrent;
|
list($TorrentID, $GroupID, $InfoHash) = $Torrent;
|
||||||
Tracker::update_tracker('update_torrent', array('info_hash' => rawurlencode($InfoHash), 'freetorrent' => $FreeNeutral));
|
Tracker::update_tracker('update_torrent', array('info_hash' => rawurlencode($InfoHash), 'freetorrent' => $FreeNeutral));
|
||||||
G::$Cache->delete_value("torrent_download_$TorrentID");
|
G::$Cache->delete_value("torrent_download_$TorrentID");
|
||||||
Misc::write_log(G::$LoggedUser['Username']." marked torrent $TorrentID freeleech type $FreeLeechType!");
|
Misc::write_log(G::$LoggedUser['Username']." marked torrent $TorrentID freeleech type $FreeNeutral with reason $FreeLeechType!");
|
||||||
Torrents::write_group_log($GroupID, $TorrentID, G::$LoggedUser['ID'], "marked as freeleech type $FreeLeechType!", 0);
|
Torrents::write_group_log($GroupID, $TorrentID, G::$LoggedUser['ID'], "marked as freeleech type $FreeNeutral with reason $FreeLeechType!", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($GroupIDs as $GroupID) {
|
foreach ($GroupIDs as $GroupID) {
|
||||||
|
Loading…
Reference in New Issue
Block a user