mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-17 05:37:32 +08:00
remove info_hash not exsts cache when upload
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.6');
|
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('IN_TRACKER') || define('IN_TRACKER', false);
|
||||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||||
|
|||||||
@@ -403,6 +403,9 @@ if ($saveResult === false) {
|
|||||||
sql_query("delete from torrents where id = $id limit 1");
|
sql_query("delete from torrents where id = $id limit 1");
|
||||||
bark("save torrent to $torrentFilePath fail.");
|
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
|
* add custom fields
|
||||||
|
|||||||
Reference in New Issue
Block a user