torrentrss add cache by sql

This commit is contained in:
xiaomlove
2025-09-21 00:34:41 +07:00
parent 409b734d3a
commit d16a864841
2 changed files with 8 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ final class MsgAlert {
public function remove($name): void
{
foreach (self::$alerts as $item) {
if ($item['name'] = $name) {
if ($item['name'] == $name) {
unset(self::$alerts[$name]);
NexusDB::redis()->lRem($this->getListKey(), json_encode($item));
}