Here you can find it
Go to /include/libs/cron/cron_class.php
Find there
PHP Code:
// delete old torrents
$days = 128 ;
$dt = sqlesc( get_date_time(gmtime() - ($days * 86400)) ) ;
$res = mysql_query( "SELECT id, name FROM torrents WHERE added < $dt" ) ;
while ( $arr = mysql_fetch_assoc($res) )
{
@unlink( "$torrent_dir/$arr[id].torrent" ) ;
mysql_query( "DELETE FROM torrents WHERE id=$arr[id]" ) ;
mysql_query( "DELETE FROM snatched WHERE torrentid =$arr[id]" ) ;
mysql_query( "DELETE FROM peers WHERE torrent=$arr[id]" ) ;
mysql_query( "DELETE FROM comments WHERE torrent=$arr[id]" ) ;
mysql_query( "DELETE FROM files WHERE torrent=$arr[id]" ) ;
write_log( "Torrent $arr[id] ($arr[name]) was deleted by system (older than $days days)" ) ;
}
grtzz edgein