mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
remove info_hash not exsts cache when upload
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.6');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-08-15');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-08-18');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -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