Empty commit

This commit is contained in:
Git 2011-09-01 08:00:07 +00:00
parent 3500cf5c47
commit 3f809e28f6

View File

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