mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Use cache helpers rather than database to handle configuration tokens and downloads.
This commit is contained in:
@@ -138,6 +138,7 @@ class ServerObserver
|
||||
*/
|
||||
Cache::tags('Model:Server:byUuid:' . $server->uuid)->flush();
|
||||
Cache::tags('Model:Server:byUuid:' . $server->uuidShort)->flush();
|
||||
Cache::tags('Downloads:Server:' . $server->uuid)->flush();
|
||||
|
||||
event(new Events\Server\Updated($server));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user