approval none send cancel ban msg too

This commit is contained in:
xiaomlove
2022-06-16 02:29:11 +08:00
parent 8936580476
commit 990b8ab406
5 changed files with 22 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ if ($row['banned'] == 'yes' && $row['owner'] == $CURUSER['id']) {
'msg' => nexus_trans('torrent.owner_update_torrent_msg', ['detail_url' => $torrentUrl, 'torrent_name' => $_POST['name']]),
'added' => now(),
]);
\Nexus\Database\NexusDB::cache_del("staff_message_count");
\Nexus\Database\NexusDB::cache_del("staff_new_message_count");
}
$returl = "details.php?id=$id&edited=1";