mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
remove info_hash not exsts cache when upload
This commit is contained in:
@@ -403,6 +403,9 @@ if ($saveResult === false) {
|
||||
sql_query("delete from torrents where id = $id limit 1");
|
||||
bark("save torrent to $torrentFilePath fail.");
|
||||
}
|
||||
//remove announce info_hash not exists cache
|
||||
//@see announce.php
|
||||
\Nexus\Database\NexusDB::cache_del("torrent_not_exists:$infohash");
|
||||
|
||||
/**
|
||||
* add custom fields
|
||||
|
||||
Reference in New Issue
Block a user