mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 10:31:37 +00:00
Empty commit
This commit is contained in:
parent
3500cf5c47
commit
3f809e28f6
@ -631,8 +631,16 @@ function next_hour() {
|
||||
|
||||
$LogEntries = array();
|
||||
|
||||
// Exceptions for inactivity deletion
|
||||
$InactivityExceptionsMade = array(//UserID => expiry time of exception
|
||||
|
||||
);
|
||||
foreach ($TorrentIDs as $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) {
|
||||
$Name = $ArtistName.' - '.$Name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user