mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-07 13:59:07 +00:00
Empty commit
This commit is contained in:
parent
3500cf5c47
commit
3f809e28f6
@ -631,8 +631,16 @@ function next_hour() {
|
|||||||
|
|
||||||
$LogEntries = array();
|
$LogEntries = array();
|
||||||
|
|
||||||
|
// Exceptions for inactivity deletion
|
||||||
|
$InactivityExceptionsMade = array(//UserID => expiry time of exception
|
||||||
|
|
||||||
|
);
|
||||||
foreach ($TorrentIDs as $TorrentID) {
|
foreach ($TorrentIDs as $TorrentID) {
|
||||||
list($ID, $GroupID, $Name, $ArtistName, $LastAction, $Format, $Encoding, $UserID) = $TorrentID;
|
list($ID, $GroupID, $Name, $ArtistName, $LastAction, $Format, $Encoding, $UserID) = $TorrentID;
|
||||||
|
if (array_key_exists($UserID, $InactivityExceptionsMade) && (time() < $InactivityExceptionsMade[$UserID])) {
|
||||||
|
// don't delete the torrent!
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if($ArtistName) {
|
if($ArtistName) {
|
||||||
$Name = $ArtistName.' - '.$Name;
|
$Name = $ArtistName.' - '.$Name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user