mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
torrentrss add cache by sql
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user